public interface ChangeHook
| Modifier and Type | Method and Description |
|---|---|
<O extends ObjectType> |
invoke(ModelContext<O> context,
com.evolveum.midpoint.task.api.Task task,
OperationResult result)
Generic method to be implemented by the hook.
|
void |
invokeOnException(ModelContext context,
Throwable throwable,
com.evolveum.midpoint.task.api.Task task,
OperationResult result)
This method is invoked by the clockwork when an exception occurs.
|
<O extends ObjectType> HookOperationMode invoke(ModelContext<O> context, com.evolveum.midpoint.task.api.Task task, OperationResult result)
void invokeOnException(ModelContext context, Throwable throwable, com.evolveum.midpoint.task.api.Task task, OperationResult result)
context - actual model context at the point of processing the exceptionthrowable - the exception itselftask - actual task, in context of which the operation was carried outresult - actual operation result - the handler should create a subresult here for its operation
This method has no return value, as it is not expected that the processing would continue in
the background. (This could change in the future.)Copyright © 2016 Evolveum. All rights reserved.