Class AbstractCompositeActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,WS extends AbstractActivityWorkStateType>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun<WD,AH,BS>
com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun<WD,AH,WS>
com.evolveum.midpoint.repo.common.activity.run.AbstractCompositeActivityRun<WD,AH,WS>
- Type Parameters:
WD
- Type of work definition.AH
- Type of activity handler.WS
- Type of the work state.
- All Implemented Interfaces:
ExecutionSupport
,DebugDumpable
- Direct Known Subclasses:
CompositeActivityRun
,ReconciliationActivityRun
public abstract class AbstractCompositeActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,WS extends AbstractActivityWorkStateType>
extends LocalActivityRun<WD,AH,WS>
Run of a set of child activities. These can be fixed, semi-fixed or custom.
Responsibilities:
1. create and initialize all child runs,
2. execute children, honoring the control flow definition (this is not implemented yet!),
3. derive composite run result from partial (children) run results.
Note: Do not extend this class by subclassing unless really necessary.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.task.api.ExecutionSupport
ExecutionSupport.CountersGroup
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
activity, activityState, endTimestamp, startTimestamp, taskRun
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescription@NotNull ActivityReportingCharacteristics
This method should be called only after the concrete instance is fully initialized.void
debugDumpExtra
(StringBuilder sb, int indent) protected @NotNull ActivityRunResult
runLocally
(OperationResult result) toString()
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun
getCurrentResultStatusBean, getDesiredTaskObjectRef, getSimulationTransaction, getTaskExecutionMode, isExcludedFromStalenessChecking, runInternal, shouldUpdateProgressInStateOverview, updateItemProgressInTreeOverviewIfTimePassed
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
areActionsExecutedStatisticsSupported, areRunRecordsSupported, areStatisticsSupported, areSynchronizationStatisticsSupported, canRun, debugDump, determineActivityStateDefinition, determineActivityStateForCounters, ensureFullExecution, ensureNoDryRun, ensureNoPreviewNorDryRun, getActivity, getActivityDefinition, getActivityExecutionMode, getActivityHandler, getActivityPath, getActivityState, getActivityStateDefinition, getBeans, getItemsProcessed, getLocalParentRun, getReportingCharacteristics, getRunningTask, getStartTimestampRequired, getTaskRun, getTreeStateOverview, getWorkDefinition, incrementCounters, incrementProgress, isBucketAnalysis, isDryRun, isFullExecution, isNoExecution, isNonScavengingWorker, isProgressSupported, isWorker, onActivityRealizationComplete, onActivityRealizationStart, recordIterativeOperationStart, run, setInstanceReady, shouldCreateWorkStateOnInitialization, standardRunResult, standardRunResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
AbstractCompositeActivityRun
-
-
Method Details
-
createReportingCharacteristics
Description copied from class:AbstractActivityRun
This method should be called only after the concrete instance is fully initialized.- Overrides:
createReportingCharacteristics
in classLocalActivityRun<WD extends WorkDefinition,
AH extends ActivityHandler<WD, AH>, WS extends AbstractActivityWorkStateType>
-
runLocally
@NotNull protected @NotNull ActivityRunResult runLocally(OperationResult result) throws ActivityRunException, CommonException - Specified by:
runLocally
in classLocalActivityRun<WD extends WorkDefinition,
AH extends ActivityHandler<WD, AH>, WS extends AbstractActivityWorkStateType> - Throws:
ActivityRunException
CommonException
-
toString
- Overrides:
toString
in classAbstractActivityRun<WD extends WorkDefinition,
AH extends ActivityHandler<WD, AH>, WS extends AbstractActivityWorkStateType>
-
debugDumpExtra
- Overrides:
debugDumpExtra
in classAbstractActivityRun<WD extends WorkDefinition,
AH extends ActivityHandler<WD, AH>, WS extends AbstractActivityWorkStateType>
-