Class CleanupPartialActivityRun<CP>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun<WD,AH,BS>
com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun<CleanupWorkDefinition,CleanupActivityHandler,AbstractActivityWorkStateType>
com.evolveum.midpoint.model.impl.cleanup.CleanupPartialActivityRun<CP>
- Type Parameters:
CP- Cleanup policy type
- All Implemented Interfaces:
ExecutionSupport,DebugDumpable
public final class CleanupPartialActivityRun<CP>
extends LocalActivityRun<CleanupWorkDefinition,CleanupActivityHandler,AbstractActivityWorkStateType>
Activity execution for an elementary cleanup part.
TODO this class is not finished, e.g. statistics reporting is not complete
-
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, taskRunFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescription@NotNull ActivityReportingCharacteristicsThis method should be called only after the concrete instance is fully initialized.protected @NotNull ActivityRunResultrunLocally(OperationResult result) booleanReturns true if the work (business) state should be created right on activity run initialization, along with the rest of the state.Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun
getCurrentResultStatusBean, getDesiredTaskObjectRef, getSimulationTransaction, getTaskExecutionMode, isExcludedFromStalenessChecking, runInternal, shouldUpdateProgressInStateOverview, updateItemProgressInTreeOverviewIfTimePassedMethods inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
areActionsExecutedStatisticsSupported, areRunRecordsSupported, areStatisticsSupported, areSynchronizationStatisticsSupported, canRun, debugDump, debugDumpExtra, 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, standardRunResult, standardRunResult, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
createReportingCharacteristics
Description copied from class:AbstractActivityRunThis method should be called only after the concrete instance is fully initialized. -
shouldCreateWorkStateOnInitialization
public boolean shouldCreateWorkStateOnInitialization()Description copied from class:AbstractActivityRunReturns true if the work (business) state should be created right on activity run initialization, along with the rest of the state. Maybe we should provide this customization in the "specifics" interface for iterative activities. -
runLocally
@NotNull protected @NotNull ActivityRunResult runLocally(OperationResult result) throws ActivityRunException - Specified by:
runLocallyin classLocalActivityRun<CleanupWorkDefinition,CleanupActivityHandler, AbstractActivityWorkStateType> - Throws:
ActivityRunException
-