Package com.evolveum.midpoint.task.api
Interface ExecutionSupport
- All Known Implementing Classes:
- AbstractActivityRun,- AbstractCompositeActivityRun,- AsyncUpdateActivityRun,- AutoScalingActivityRun,- CleanupPartialActivityRun,- CompositeActivityRun,- DelegatingActivityRun,- DistributingActivityRun,- FocusValidityScanPartialRun,- ImportActivityRun,- IterativeActivityRun,- LiveSyncActivityRun,- LocalActivityRun,- PartialReconciliationActivityRun,- PlainIterativeActivityRun,- ReconciliationActivityRun,- ResourceObjectsReconciliationActivityRun,- ScanActivityRun,- SearchBasedActivityRun,- ShadowCleanupActivityHandler.MyRun,- ShadowIntegrityCheckActivityRun,- ShadowRefreshActivityHandler.MyActivityRun
public interface ExecutionSupport
Functionality that supports the activity execution that is going on within this task.
 This interface is used in those places in code that need to interact with the activity run
 but have no direct access to an object of type `AbstractActivityRun`. The only thing they have
 is a 
Task that can provide instance of this interface to them (see Task.getExecutionSupport()).- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumGroup of counters.
- 
Method SummaryModifier and TypeMethodDescription@NotNull ExecutionModeTypeReturns the mode in which the activity executes (normal, dry run, simulate, ...).@NotNull ActivityPathReturns the path of the activity we are executing.incrementCounters(@NotNull ExecutionSupport.CountersGroup counterGroup, @NotNull Collection<String> countersIdentifiers, @NotNull OperationResult result) Increments given counters related to the activity execution.recordIterativeOperationStart(@NotNull IterativeOperationStartInfo info) 
- 
Method Details- 
getActivityExecutionModeReturns the mode in which the activity executes (normal, dry run, simulate, ...).
- 
getActivityPathReturns the path of the activity we are executing.
- 
recordIterativeOperationStart
- 
incrementCountersMap<String,Integer> incrementCounters(@NotNull @NotNull ExecutionSupport.CountersGroup counterGroup, @NotNull @NotNull Collection<String> countersIdentifiers, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException Increments given counters related to the activity execution.- Returns:
- Current values of the counters (after the update).
- Throws:
- SchemaException
- ObjectNotFoundException
- ObjectAlreadyExistsException
 
 
-