Annotation Interface ProcessorExecution
Specifies requirements on execution of processor methods through ClockworkMedic.partialExecute
and related methods.
Beware that these requirements apply to all methods callable via ClockworkMedic (
ProcessorMethod
).
In the future we might consider declaring execution requirements directly for those methods.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Is the focus context required? (Usually yes, but let's be explicit.)Class<? extends ObjectType>
What kind of focus there should be in order for the processor methods to be executed? Checked only if focusRequired = true.boolean
Should the methods execution be skipped if the focus is going to be deleted?boolean
Should the execution be skipped if the projection is to be deleted? (We should perhaps make this more flexible in the future.)
-
Element Details
-
focusRequired
boolean focusRequiredIs the focus context required? (Usually yes, but let's be explicit.)- Default:
- false
-
focusType
Class<? extends ObjectType> focusTypeWhat kind of focus there should be in order for the processor methods to be executed? Checked only if focusRequired = true.- Default:
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType.class
-
skipWhenFocusDeleted
boolean skipWhenFocusDeletedShould the methods execution be skipped if the focus is going to be deleted?- Default:
- false
-
skipWhenProjectionDeleted
boolean skipWhenProjectionDeletedShould the execution be skipped if the projection is to be deleted? (We should perhaps make this more flexible in the future.)- Default:
- false
-