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 com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createAttemptModification(T shadow,
Collection<ItemDelta> modifications) |
protected ResourceOperationDescription |
createOperationDescription(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
Exception ex,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
ObjectDelta delta,
Task task,
OperationResult result) |
protected Integer |
getAttemptNumber(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow) |
abstract <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
protected boolean |
isDoDiscovery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
protected boolean |
isPostpone(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
@Autowired(required=true) protected ChangeNotificationDispatcher changeNotificationDispatcher
@Autowired protected PrismContext prismContext
protected boolean isPostpone(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource)
protected boolean isDoDiscovery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource)
public abstract <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.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 com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> Collection<ItemDelta> createAttemptModification(T shadow, Collection<ItemDelta> modifications)
protected Integer getAttemptNumber(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow)
protected ResourceOperationDescription createOperationDescription(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, Exception ex, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, ObjectDelta delta, Task task, OperationResult result)
Copyright © 2016 evolveum. All rights reserved.