com.evolveum.midpoint.provisioning.consistency.api
Class ErrorHandler
java.lang.Object
com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
- Direct Known Subclasses:
- CommunicationExceptionHandler, ConfigurationExceptionHandler, GenericErrorHandler, ObjectAlreadyExistHandler, ObjectNotFoundHandler, SchemaExceptionHandler, SecurityViolationHandler
public abstract class ErrorHandler
- extends Object
Method Summary |
protected
|
createAttemptModification(T shadow,
Collection<ItemDelta> modifications)
|
protected ResourceOperationDescription |
createOperationDescription(ResourceObjectShadowType shadowType,
ResourceType resource,
ObjectDelta delta,
Task task,
OperationResult result)
|
protected Integer |
getAttemptNumber(ResourceObjectShadowType shadow)
|
abstract
|
handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult)
|
protected boolean |
isDoDiscovery(ResourceType resource)
|
protected boolean |
isPostpone(ResourceType resource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeNotificationDispatcher
@Autowired(required=true)
protected ChangeNotificationDispatcher changeNotificationDispatcher
prismContext
@Autowired
protected PrismContext prismContext
ErrorHandler
public ErrorHandler()
isPostpone
protected boolean isPostpone(ResourceType resource)
isDoDiscovery
protected boolean isDoDiscovery(ResourceType resource)
handleError
public abstract <T extends ResourceObjectShadowType> T handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult)
throws SchemaException,
GenericFrameworkException,
CommunicationException,
ObjectNotFoundException,
ObjectAlreadyExistsException,
ConfigurationException,
SecurityViolationException
- Throws:
SchemaException
GenericFrameworkException
CommunicationException
ObjectNotFoundException
ObjectAlreadyExistsException
ConfigurationException
SecurityViolationException
createAttemptModification
protected <T extends ResourceObjectShadowType> Collection<ItemDelta> createAttemptModification(T shadow,
Collection<ItemDelta> modifications)
getAttemptNumber
protected Integer getAttemptNumber(ResourceObjectShadowType shadow)
createOperationDescription
protected ResourceOperationDescription createOperationDescription(ResourceObjectShadowType shadowType,
ResourceType resource,
ObjectDelta delta,
Task task,
OperationResult result)
Copyright © 2013 evolveum. All Rights Reserved.