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, taskRun
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ActivityReportingCharacteristics
createReportingCharacteristics()
This method should be called only after the concrete instance is fully initialized.protected @NotNull ActivityRunResult
runLocally(OperationResult result)
boolean
shouldCreateWorkStateOnInitialization()
Returns 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, updateItemProgressInTreeOverviewIfTimePassed
-
Methods 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, 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
-
-
-
-
Method Detail
-
createReportingCharacteristics
@NotNull public @NotNull ActivityReportingCharacteristics createReportingCharacteristics()
Description copied from class:AbstractActivityRun
This method should be called only after the concrete instance is fully initialized.
-
shouldCreateWorkStateOnInitialization
public boolean shouldCreateWorkStateOnInitialization()
Description copied from class:AbstractActivityRun
Returns 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:
runLocally
in classLocalActivityRun<CleanupWorkDefinition,CleanupActivityHandler,AbstractActivityWorkStateType>
- Throws:
ActivityRunException
-
-