Uses of Class
com.evolveum.midpoint.repo.common.activity.run.ActivityRunException
-
Packages that use ActivityRunException Package Description com.evolveum.midpoint.model.impl.cleanup com.evolveum.midpoint.model.impl.integrity.shadows com.evolveum.midpoint.model.impl.sync.tasks com.evolveum.midpoint.model.impl.sync.tasks.async com.evolveum.midpoint.model.impl.sync.tasks.imp com.evolveum.midpoint.model.impl.sync.tasks.recon com.evolveum.midpoint.model.impl.sync.tasks.sync com.evolveum.midpoint.model.impl.tasks com.evolveum.midpoint.model.impl.tasks.cluster com.evolveum.midpoint.model.impl.tasks.scanner com.evolveum.midpoint.repo.common.activity Contains the activity framework: the code that supports execution of activities within tasks.com.evolveum.midpoint.repo.common.activity.run Classes that support execution (run) of activities.com.evolveum.midpoint.repo.common.activity.run.processing Deals with items processing: buffering, fetching by workers, processing.com.evolveum.midpoint.repo.common.activity.run.state -
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.cleanup
Methods in com.evolveum.midpoint.model.impl.cleanup that throw ActivityRunException Modifier and Type Method Description boolean
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
Methods in com.evolveum.midpoint.model.impl.integrity.shadows that throw ActivityRunException Modifier and Type Method Description boolean
ShadowIntegrityCheckActivityRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks
Methods in com.evolveum.midpoint.model.impl.sync.tasks that throw ActivityRunException Modifier and Type Method Description @NotNull ProcessingScope
SyncTaskHelper. createProcessingScopeForShadow(@NotNull ShadowType shadow, Task task, OperationResult opResult)
CreatesProcessingScope
for a single shadow.ResourceSearchSpecification
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
Methods in com.evolveum.midpoint.model.impl.sync.tasks.async that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.model.impl.sync.tasks.imp that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.model.impl.sync.tasks.recon that throw ActivityRunException Modifier and Type Method Description void
PartialReconciliationActivityRun. beforeRun(OperationResult result)
void
ResourceObjectsReconciliationActivityRun. beforeRun(OperationResult result)
boolean
ResourceObjectsReconciliationActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.sync.tasks.sync
Methods in com.evolveum.midpoint.model.impl.sync.tasks.sync that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.model.impl.tasks that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.model.impl.tasks.cluster that throw ActivityRunException Modifier and Type Method Description void
AutoScalingActivityRun. afterRun(OperationResult result)
void
AutoScalingActivityRun. beforeRun(OperationResult result)
-
Uses of ActivityRunException in com.evolveum.midpoint.model.impl.tasks.scanner
Methods in com.evolveum.midpoint.model.impl.tasks.scanner that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.repo.common.activity that throw ActivityRunException Modifier and Type Method Description void
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
Methods in com.evolveum.midpoint.repo.common.activity.run that throw ActivityRunException Modifier and Type Method Description default 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.@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 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 void
SearchBasedActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)
abstract boolean
IterativeActivityRun. processItem(@NotNull ItemProcessingRequest<I> request, @NotNull RunningTask workerTask, OperationResult result)
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 @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
Methods in com.evolveum.midpoint.repo.common.activity.run.processing that throw ActivityRunException Modifier and Type Method Description boolean
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
Methods in com.evolveum.midpoint.repo.common.activity.run.state that throw ActivityRunException Modifier and Type Method Description void
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()
-