Uses of Class
com.evolveum.midpoint.repo.common.activity.run.ActivityRunException
Package
Description
Contains the activity framework: the code that supports execution of activities within tasks.
Classes that support execution (run) of activities.
Deals with items processing: buffering, fetching by workers, processing.
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.cleanup
Modifier and TypeMethodDescriptionboolean
ShadowRefreshActivityHandler.MyActivityRun.processItem
(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) protected @NotNull ActivityRunResult
CleanupPartialActivityRun.runLocally
(OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.integrity.shadows
Modifier and TypeMethodDescriptionboolean
ShadowIntegrityCheckActivityRun.processItem
(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks
Modifier and TypeMethodDescription@NotNull ProcessingScope
SyncTaskHelper.createProcessingScopeForShadow
(@NotNull ShadowType shadow, Task task, OperationResult opResult) CreatesProcessingScope
for a single shadow.SyncTaskHelper.createSearchSpecification
(@NotNull ResourceObjectSetType set, Task task, OperationResult opResult) Creates "complete" search specification from given configuration.@NotNull ProcessingScope
SyncTaskHelper.getProcessingScopeCheckingMaintenance
(@NotNull ResourceObjectSetType resourceObjectSet, Task task, OperationResult opResult) Returns the specification of objects against which the synchronization will be done (ProcessingScope
).@NotNull String
SyncTaskHelper.getResourceOid
(ResourceObjectSetType set) static ProcessingScope
ProcessingScope.of
(@NotNull ResourceType resource, @NotNull ResourceObjectSetType resourceObjectSet) static ProcessingScope
ProcessingScope.of
(@NotNull ResourceType resource, @NotNull ShadowType shadow) See the note in class-level javadoc. -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks.async
Modifier and TypeMethodDescriptionvoid
AsyncUpdateActivityRun.beforeRun
(OperationResult result) boolean
AsyncUpdateActivityRun.processItem
(@NotNull ItemProcessingRequest<AsyncUpdateEvent> request, @NotNull RunningTask workerTask, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks.imp
Modifier and TypeMethodDescriptionvoid
ImportActivityRun.beforeRun
(OperationResult result) boolean
ImportActivityRun.processItem
(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks.recon
Modifier and TypeMethodDescriptionvoid
PartialReconciliationActivityRun.beforeRun
(OperationResult result) void
ResourceObjectsReconciliationActivityRun.beforeRun
(OperationResult result) boolean
ResourceObjectsReconciliationActivityRun.processItem
(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) protected @NotNull ActivityRunResult
ReconciliationActivityRun.runLocally
(OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks.sync
Modifier and TypeMethodDescriptionvoid
LiveSyncActivityRun.beforeRun
(OperationResult result) boolean
LiveSyncActivityRun.processItem
(@NotNull ItemProcessingRequest<LiveSyncEvent> request, @NotNull RunningTask workerTask, @NotNull OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.tasks
Modifier and TypeMethodDescriptionvoid
ShadowCleanupActivityHandler.MyRun.beforeRun
(OperationResult result) @NotNull SearchSpecification<?>
AdvancedActivityRunSupportImpl.createSearchSpecificationFromResourceObjectSetSpec
(@NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull RunningTask task, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.tasks.cluster
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.tasks.scanner
Modifier and TypeMethodDescriptionvoid
ScanActivityRun.afterRun
(OperationResult result) boolean
FocusValidityScanPartialRun.processItem
(@NotNull FocusType object, @NotNull ItemProcessingRequest<FocusType> request, RunningTask workerTask, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.repo.common.activity
Modifier and TypeMethodDescriptionvoid
ActivityTree.purgeState
(ActivityBasedTaskRun taskRun, OperationResult result) Purges the activity state (usually before new realization).void
ActivityTreeStateOverview.recordChildren
(@NotNull LocalActivityRun<?, ?, ?> run, List<Activity<?, ?>> children, @NotNull OperationResult result) We need to know about all the children to be able to display the progress correctly.void
ActivityTreeStateOverview.recordDistributedActivityRealizationFinish
(@NotNull DistributingActivityRun<?, ?, ?> run, @NotNull ActivityRunResult runResult, @NotNull OperationResult result) Records the finish of distributed activity realization (NOT run).void
ActivityTreeStateOverview.recordDistributedActivityRealizationStart
(@NotNull DistributingActivityRun<?, ?, ?> run, @NotNull OperationResult result) Records the start of distributed activity realization (NOT run).void
ActivityTreeStateOverview.recordLocalRunFinish
(@NotNull LocalActivityRun<?, ?, ?> run, @Nullable ActivityRunResult runResult, @NotNull OperationResult result) Records the finish of a local activity run.void
ActivityTreeStateOverview.recordLocalRunStart
(@NotNull LocalActivityRun<?, ?, ?> run, @NotNull OperationResult result) Records the start of local activity run in the tree overview.void
PreRunnable.run
(@NotNull EmbeddedActivity<WD, AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result) void
ActivityTreeStateOverview.updateBucketAndItemProgress
(@NotNull LocalActivityRun<?, ?, ?> run, @NotNull BucketProgressOverviewType bucketProgress, @NotNull OperationResult result) Updates bucket (and item) progress information in the activity tree.void
ActivityTree.updateRealizationState
(ActivityTreeRealizationStateType value, OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.repo.common.activity.run
Modifier and TypeMethodDescriptiondefault void
IterativeActivityRunSpecifics.afterBucketProcessing
(OperationResult result) Called after bucket is processed.default void
IterativeActivityRunSpecifics.afterRun
(OperationResult result) Called after the run.default void
IterativeActivityRunSpecifics.beforeBucketProcessing
(OperationResult result) Called before bucket is processed.default void
IterativeActivityRunSpecifics.beforeRun
(OperationResult result) Called before the run.@NotNull SearchSpecification<?>
AdvancedActivityRunSupport.createSearchSpecificationFromResourceObjectSetSpec
(@NotNull ResourceObjectSetSpecificationImpl resourceObjectSetSpecification, @NotNull RunningTask task, OperationResult result) @Nullable Integer
IterativeActivityRun.determineOverallSize
(OperationResult result) Determines expected progress (overall size) for the activity.default @Nullable Integer
PlainIterativeActivityRunSpecifics.determineOverallSize
(OperationResult result) Determines the expected total progress.final @Nullable Integer
SearchBasedActivityRun.determineOverallSize
(OperationResult result) protected abstract boolean
IterativeActivityRun.isInRepository
(OperationResult result) Do we execute over items in repository? (Maybe the name should be changed.)protected final boolean
SearchBasedActivityRun.isInRepository
(OperationResult result) protected void
AbstractActivityRun.onActivityRealizationComplete
(OperationResult result) Called when the activity realization is complete.protected void
AbstractActivityRun.onActivityRealizationStart
(OperationResult result) Called when the activity realization starts.protected abstract void
IterativeActivityRun.prepareItemSourceForCurrentBucket
(OperationResult result) Prepares the item source.protected final void
SearchBasedActivityRun.prepareItemSourceForCurrentBucket
(OperationResult result) abstract boolean
IterativeActivityRun.processItem
(@NotNull ItemProcessingRequest<I> request, @NotNull RunningTask workerTask, OperationResult result) final boolean
SearchBasedActivityRun.processItem
(@NotNull ItemProcessingRequest<C> request, @NotNull RunningTask workerTask, OperationResult result) boolean
SearchBasedActivityRunSpecifics.processItem
(C item, @NotNull ItemProcessingRequest<C> request, RunningTask workerTask, OperationResult result) Processes given item that came as part of a request.@NotNull ActivityRunResult
AbstractActivityRun.run
(OperationResult result) Runs the activity.protected abstract @NotNull ActivityRunResult
AbstractActivityRun.runInternal
(OperationResult result) Carries out the actual run of this activity.protected @NotNull ActivityRunResult
DelegatingActivityRun.runInternal
(OperationResult result) protected @NotNull ActivityRunResult
DistributingActivityRun.runInternal
(OperationResult result) protected @NotNull ActivityRunResult
LocalActivityRun.runInternal
(OperationResult result) protected @NotNull ActivityRunResult
AbstractCompositeActivityRun.runLocally
(OperationResult result) protected final @NotNull ActivityRunResult
IterativeActivityRun.runLocally
(OperationResult result) protected abstract @NotNull ActivityRunResult
LocalActivityRun.runLocally
(OperationResult result) -
Uses of ActivityRunException in com.evolveum.midpoint.repo.common.activity.run.processing
Modifier and TypeMethodDescriptionboolean
ItemProcessor.processItem
(ItemProcessingRequest<I> request, RunningTask workerTask, OperationResult parentResult) Does the "pure" processing, free of any reporting, error handling, tracing, and similar issues. -
Uses of ActivityRunException in com.evolveum.midpoint.repo.common.activity.run.state
Modifier and TypeMethodDescriptionvoid
ActivityState.addDeleteItemRealValues
(@NotNull ItemPath path, @NotNull Collection<?> valuesToAdd, @NotNull Collection<?> valuesToDelete) DO NOT use for setting work state items because of dynamic typing of the work state container value.void
ActivityState.flushPendingTaskModificationsChecked
(OperationResult result) Flushes pending task modifications.void
CurrentActivityState.initialize
(OperationResult result) Puts the activity state into operation: 1.void
CurrentActivityState.markComplete
(OperationResultStatus resultStatus, Long endTimestamp) void
ActivityTreePurger.purge
(OperationResult result) Purges state (including task-level stats) from current task and its subtasks.void
CurrentActivityState.recordRealizationStart
(long startTimestamp) void
CurrentActivityState.recordRealizationStart
(XMLGregorianCalendar startTimestamp) void
CurrentActivityState.recordRunEnd
(Long endTimestamp) void
CurrentActivityState.recordRunStart
(Long startTimestamp) void
ActivityState.setItemRealValues
(ItemPath path, Object... values) DO NOT use for setting work state items because of dynamic typing of the work state container value.void
ActivityState.setItemRealValuesCollection
(ItemPath path, Collection<?> values) DO NOT use for setting work state items because of dynamic typing of the work state container value.void
CurrentActivityState.setRealizationState
(ActivityRealizationStateType value) void
CurrentActivityState.setResultStatus
(@NotNull OperationResultStatus status) void
CurrentActivityState.setRunEndTimestamp
(Long value) void
ActivityState.setSimulationResultCreated()
void
ActivityState.setSimulationResultOid
(String oid) void
CurrentActivityState.updateProgressAndStatisticsNoCommit()
void
CurrentActivityState.updateProgressNoCommit()