Class Clockwork
java.lang.Object
com.evolveum.midpoint.model.impl.lens.Clockwork
The "clockwork" that drives the change processing. The main entry is
run(LensContext, Task, OperationResult)
method.
As a special responsibility, this class ensures the conflict resolution with the help of ClockworkConflictResolver
.- Author:
- semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<F extends ObjectType>
@NotNull HookOperationModeclick
(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult result) <F extends ObjectType>
HookOperationModerun
(LensContext<F> context, Task task, OperationResult parentResult)
-
Constructor Details
-
Clockwork
public Clockwork()
-
-
Method Details
-
run
public <F extends ObjectType> HookOperationMode run(LensContext<F> context, Task task, OperationResult parentResult) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException -
click
@VisibleForTesting @NotNull public <F extends ObjectType> @NotNull HookOperationMode click(@NotNull @NotNull LensContext<F> context, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConflictDetectedException, ConfigurationException, ObjectNotFoundException, PolicyViolationException, ObjectAlreadyExistsException
-