Class DelegatingActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun<WD,AH,DelegationWorkStateType>
-
- com.evolveum.midpoint.repo.common.activity.run.DelegatingActivityRun<WD,AH>
-
- All Implemented Interfaces:
ExecutionSupport,DebugDumpable
public final class DelegatingActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>> extends AbstractActivityRun<WD,AH,DelegationWorkStateType>
-
-
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
Constructors Constructor Description DelegatingActivityRun(@NotNull ActivityRunInstantiationContext<WD,AH> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ActivityReportingCharacteristicscreateReportingCharacteristics()This method should be called only after the concrete instance is fully initialized.protected voiddebugDumpExtra(StringBuilder sb, int indent)protected ActivityStateDefinition<DelegationWorkStateType>determineActivityStateDefinition()Called during initialization.protected @NotNull ActivityRunResultrunInternal(OperationResult result)Carries out the actual run of this activity.-
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
areActionsExecutedStatisticsSupported, areRunRecordsSupported, areStatisticsSupported, areSynchronizationStatisticsSupported, canRun, debugDump, 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, toString
-
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 Detail
-
DelegatingActivityRun
public DelegatingActivityRun(@NotNull @NotNull ActivityRunInstantiationContext<WD,AH> context)
-
-
Method Detail
-
createReportingCharacteristics
@NotNull public @NotNull ActivityReportingCharacteristics createReportingCharacteristics()
Description copied from class:AbstractActivityRunThis method should be called only after the concrete instance is fully initialized.- Overrides:
createReportingCharacteristicsin classAbstractActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,DelegationWorkStateType>
-
determineActivityStateDefinition
protected ActivityStateDefinition<DelegationWorkStateType> determineActivityStateDefinition()
Description copied from class:AbstractActivityRunCalled during initialization. Should not access reporting characteristics.- Overrides:
determineActivityStateDefinitionin classAbstractActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,DelegationWorkStateType>
-
runInternal
@NotNull protected @NotNull ActivityRunResult runInternal(OperationResult result) throws ActivityRunException, CommonException
Description copied from class:AbstractActivityRunCarries out the actual run of this activity.- Specified by:
runInternalin classAbstractActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,DelegationWorkStateType>- Throws:
ActivityRunExceptionCommonException
-
debugDumpExtra
protected void debugDumpExtra(StringBuilder sb, int indent)
- Overrides:
debugDumpExtrain classAbstractActivityRun<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>,DelegationWorkStateType>
-
-