Class FocusChangeExecution<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.model.impl.lens.executor.FocusChangeExecution<O>
Executes changes in the focus context.
1. Treats pending policy state modifications
2. Applies archetype policy (item constraints) to object being added
3. Treats credentials deltas
4. Updates last provisioning timestamp
5. Manages conflict resolution
6. Reports progress
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReceives notifications when focus object is modified (or added, or deleted). -
Constructor Summary
ConstructorsConstructorDescriptionFocusChangeExecution(@NotNull LensFocusContext<O> focusContext, @NotNull Task task) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(OperationResult parentResult) static voidregisterChangeExecutionListener(@NotNull FocusChangeExecution.ChangeExecutionListener listener) Must be accompanied by respective unregister call!static voidunregisterChangeExecutionListener(@NotNull FocusChangeExecution.ChangeExecutionListener listener)
-
Constructor Details
-
FocusChangeExecution
public FocusChangeExecution(@NotNull @NotNull LensFocusContext<O> focusContext, @NotNull @NotNull Task task)
-
-
Method Details
-
execute
public void execute(OperationResult parentResult) throws SchemaException, ObjectAlreadyExistsException, CommunicationException, ObjectNotFoundException, ConfigurationException, SecurityViolationException, PolicyViolationException, ExpressionEvaluationException, ConflictDetectedException -
registerChangeExecutionListener
public static void registerChangeExecutionListener(@NotNull @NotNull FocusChangeExecution.ChangeExecutionListener listener) Must be accompanied by respective unregister call! -
unregisterChangeExecutionListener
public static void unregisterChangeExecutionListener(@NotNull @NotNull FocusChangeExecution.ChangeExecutionListener listener)
-