public abstract class ErrorHandler extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ErrorHandler.FailedOperation |
Modifier and Type | Field and Description |
---|---|
protected ChangeNotificationDispatcher |
changeNotificationDispatcher |
protected PrismContext |
prismContext |
Constructor and Description |
---|
ErrorHandler() |
Modifier and Type | Method and Description |
---|---|
protected <T extends ShadowType> |
createAttemptModification(T shadow,
Collection<ItemDelta> modifications) |
protected ResourceOperationDescription |
createOperationDescription(ShadowType shadowType,
ResourceType resource,
ObjectDelta delta,
Task task,
OperationResult result) |
protected Integer |
getAttemptNumber(ShadowType shadow) |
abstract <T extends ShadowType> |
handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
protected boolean |
isDoDiscovery(ResourceType resource) |
protected boolean |
isPostpone(ResourceType resource) |
@Autowired(required=true) protected ChangeNotificationDispatcher changeNotificationDispatcher
@Autowired protected PrismContext prismContext
protected boolean isPostpone(ResourceType resource)
protected boolean isDoDiscovery(ResourceType resource)
public abstract <T extends ShadowType> T handleError(T shadow, ErrorHandler.FailedOperation op, Exception ex, boolean compensate, Task task, OperationResult parentResult) throws SchemaException, GenericFrameworkException, CommunicationException, ObjectNotFoundException, ObjectAlreadyExistsException, ConfigurationException, SecurityViolationException
protected <T extends ShadowType> Collection<ItemDelta> createAttemptModification(T shadow, Collection<ItemDelta> modifications)
protected Integer getAttemptNumber(ShadowType shadow)
protected ResourceOperationDescription createOperationDescription(ShadowType shadowType, ResourceType resource, ObjectDelta delta, Task task, OperationResult result)
Copyright © 2013 evolveum. All rights reserved.