Class Clockwork
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.Clockwork
-
@Component public class Clockwork extends Object
The "clockwork" that drives the change processing. The main entry isrun(LensContext, Task, OperationResult)
method. As a special responsibility, this class ensures the conflict resolution with the help ofClockworkConflictResolver
.- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description Clockwork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends ObjectType>
@NotNull HookOperationModeclick(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult parentResult)
<F extends ObjectType>
LensContext<F>previewChanges(LensContext<F> context, Collection<ProgressListener> listeners, Task task, OperationResult result)
<F extends ObjectType>
HookOperationModerun(LensContext<F> context, Task task, OperationResult parentResult)
-
-
-
Method Detail
-
run
public <F extends ObjectType> HookOperationMode run(LensContext<F> context, Task task, OperationResult parentResult) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException
-
previewChanges
public <F extends ObjectType> LensContext<F> previewChanges(LensContext<F> context, Collection<ProgressListener> listeners, Task task, OperationResult result) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException
-
click
@NotNull public <F extends ObjectType> @NotNull HookOperationMode click(@NotNull @NotNull LensContext<F> context, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult parentResult) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConflictDetectedException, ConfigurationException, ObjectNotFoundException, PolicyViolationException, ObjectAlreadyExistsException
-
-