Uses of Interface
com.evolveum.midpoint.task.api.RunningTask
-
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.cleanup
Methods in com.evolveum.midpoint.model.impl.cleanup with parameters of type RunningTask Modifier and Type Method Description boolean
ShadowRefreshActivityHandler.MyActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.integrity.shadows
Methods in com.evolveum.midpoint.model.impl.integrity.shadows with parameters of type RunningTask Modifier and Type Method Description boolean
ShadowIntegrityCheckActivityRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
boolean
ShadowIntegrityCheckItemProcessor. processObject(PrismObject<ShadowType> shadow, RunningTask workerTask, OperationResult parentResult)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.sync.tasks.async
Methods in com.evolveum.midpoint.model.impl.sync.tasks.async with parameters of type RunningTask Modifier and Type Method Description boolean
AsyncUpdateActivityRun. processItem(@NotNull ItemProcessingRequest<AsyncUpdateEvent> request, @NotNull RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.sync.tasks.imp
Methods in com.evolveum.midpoint.model.impl.sync.tasks.imp with parameters of type RunningTask Modifier and Type Method Description boolean
ImportActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.sync.tasks.recon
Methods in com.evolveum.midpoint.model.impl.sync.tasks.recon with parameters of type RunningTask Modifier and Type Method Description boolean
ResourceObjectsReconciliationActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.sync.tasks.sync
Methods in com.evolveum.midpoint.model.impl.sync.tasks.sync with parameters of type RunningTask Modifier and Type Method Description boolean
LiveSyncActivityRun. processItem(@NotNull ItemProcessingRequest<LiveSyncEvent> request, @NotNull RunningTask workerTask, @NotNull OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.tasks
Methods in com.evolveum.midpoint.model.impl.tasks with parameters of type RunningTask Modifier and Type Method Description @NotNull SearchSpecification<?>
AdvancedActivityRunSupportImpl. createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull RunningTask task, OperationResult result)
ObjectQuery
AdvancedActivityRunSupportImpl. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)
boolean
ShadowCleanupActivityHandler.MyRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.tasks.cluster
Methods in com.evolveum.midpoint.model.impl.tasks.cluster with parameters of type RunningTask Modifier and Type Method Description boolean
AutoScalingActivityRun. processItem(@NotNull TaskType task, @NotNull ItemProcessingRequest<TaskType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.tasks.scanner
Methods in com.evolveum.midpoint.model.impl.tasks.scanner with parameters of type RunningTask Modifier and Type Method Description boolean
FocusValidityScanPartialRun. processItem(@NotNull FocusType object, @NotNull ItemProcessingRequest<FocusType> request, RunningTask workerTask, OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.tasks.sources
Methods in com.evolveum.midpoint.model.impl.tasks.sources with parameters of type RunningTask Modifier and Type Method Description Integer
ModelAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
ModelContainerableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
ModelObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
<C extends Containerable>
voidModelAuditItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
<C extends Containerable>
voidModelContainerableItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
<C extends Containerable>
voidModelObjectSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.model.impl.trigger
Methods in com.evolveum.midpoint.model.impl.trigger with parameters of type RunningTask Modifier and Type Method Description <O extends ObjectType>
voidCompletedTaskCleanupTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
Collection<TriggerType>MultipleTriggersHandler. handle(PrismObject<O> object, Collection<TriggerType> triggers, RunningTask task, OperationResult result)
<O extends ObjectType>
voidRecomputeTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
voidShadowReconcileTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
voidSingleTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
voidUnlockTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
boolean
TriggerScanItemProcessor. processObject(@NotNull ObjectType object, @NotNull RunningTask workerTask, @NotNull OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity
Methods in com.evolveum.midpoint.repo.common.activity with parameters of type RunningTask Modifier and Type Method Description void
PreRunnable. run(@NotNull EmbeddedActivity<WD,AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result)
-
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity.run
Methods in com.evolveum.midpoint.repo.common.activity.run that return RunningTask Modifier and Type Method Description @NotNull RunningTask
AbstractActivityRun. getRunningTask()
Methods in com.evolveum.midpoint.repo.common.activity.run with parameters of type RunningTask Modifier and Type Method Description @NotNull SearchSpecification<?>
AdvancedActivityRunSupport. createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl resourceObjectSetSpecification, @NotNull RunningTask task, OperationResult result)
ObjectQuery
AdvancedActivityRunSupport. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)
Assuming that query has expressions.protected boolean
SearchBasedActivityRun. processError(C item, @NotNull OperationResultType errorFetchResult, RunningTask workerTask, 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)
-
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity.run.processing
Methods in com.evolveum.midpoint.repo.common.activity.run.processing with parameters of type RunningTask Modifier and Type Method Description boolean
ItemProcessingRequest. process(RunningTask workerTask, OperationResult result)
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 RunningTask in com.evolveum.midpoint.repo.common.activity.run.reports
Methods in com.evolveum.midpoint.repo.common.activity.run.reports with parameters of type RunningTask Modifier and Type Method Description void
InternalOperationsReport. add(@NotNull ItemProcessingRequest<?> request, @NotNull WorkBucketType bucket, @NotNull OperationResult reportedResult, @NotNull RunningTask task, @NotNull OperationResult result)
void
ConnIdOperationsReport. flush(@NotNull RunningTask task, @NotNull OperationResult result)
void
BucketsReport. recordBucketCompleted(@NotNull BucketProcessingRecordType record, @NotNull RunningTask task, @NotNull OperationResult result)
Writes a line about bucket that was just completed.void
ItemsReport. recordItemProcessed(@NotNull ItemProcessingRecordType record, @NotNull RunningTask task, @NotNull OperationResult result)
Records processing of an item to the report. -
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity.run.sources
Methods in com.evolveum.midpoint.repo.common.activity.run.sources with parameters of type RunningTask Modifier and Type Method Description Integer
RepoAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
RepoObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
SearchableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Counts items according to given search specification.<C extends Containerable>
voidRepoAuditItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
<C extends Containerable>
voidRepoObjectSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
<C extends Containerable>
voidSearchableItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)
Searches for items according to given search specification. -
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity.run.task
Methods in com.evolveum.midpoint.repo.common.activity.run.task that return RunningTask Modifier and Type Method Description @NotNull RunningTask
ActivityBasedTaskRun. getRunningTask()
@NotNull RunningTask
TaskRun. getRunningTask()
Returns the task associated with this run.Methods in com.evolveum.midpoint.repo.common.activity.run.task with parameters of type RunningTask Modifier and Type Method Description void
ActivityBasedTaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result)
TaskRunResult
ActivityBasedTaskHandler. run(@NotNull RunningTask localCoordinatorTask)
Main entry point. -
Uses of RunningTask in com.evolveum.midpoint.repo.common.util
Methods in com.evolveum.midpoint.repo.common.util with parameters of type RunningTask Modifier and Type Method Description void
OperationExecutionRecorderForTasks. recordOperationExecution(@NotNull OperationExecutionRecorderForTasks.Target target, @NotNull RunningTask task, @NotNull ActivityPath activityPath, @NotNull OperationResult resultToRecord, @NotNull OperationResult result)
Writes an operation execution record. -
Uses of RunningTask in com.evolveum.midpoint.report.api
Methods in com.evolveum.midpoint.report.api with parameters of type RunningTask Modifier and Type Method Description void
ReportManager. cleanupReports(CleanupPolicyType cleanupPolicy, RunningTask task, OperationResult parentResult)
todo comments [lazyman] todo how to return progress -
Uses of RunningTask in com.evolveum.midpoint.task.api
Subinterfaces of RunningTask in com.evolveum.midpoint.task.api Modifier and Type Interface Description interface
RunningLightweightTask
Running lightweight asynchronous task.Methods in com.evolveum.midpoint.task.api that return RunningTask Modifier and Type Method Description RunningTask
TaskManager. createFakeRunningTask(Task task)
Use only for tests.RunningTask
RunningLightweightTask. getLightweightTaskParent()
Returns the in-memory version of the parent task.RunningTask
TaskManager. getLocallyRunningTaskByIdentifier(String lightweightIdentifier)
Returns locally-run task by identifier.Methods in com.evolveum.midpoint.task.api with parameters of type RunningTask Modifier and Type Method Description void
TaskManager. cleanupNodes(@NotNull DeadNodeCleanupPolicyType deadNodesPolicy, @NotNull Predicate<NodeType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)
Deletes dead nodes, i.e.void
TaskManager. cleanupTasks(@NotNull CleanupPolicyType closedTasksPolicy, @NotNull Predicate<TaskType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)
Deletes obsolete tasks, as specified in the policy.default void
TaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result)
Should update the state of the task when the task manager finds that the task is stalled, i.e.TaskRunResult
TaskHandler. run(@NotNull RunningTask task)
Executes a task handler.void
TaskManager. waitForTransientChildrenAndCloseThem(RunningTask task, OperationResult result)
Should be called only from the thread that created the children - to avoid race conditions. -
Uses of RunningTask in com.evolveum.midpoint.wf.api
Methods in com.evolveum.midpoint.wf.api with parameters of type RunningTask Modifier and Type Method Description void
WorkflowManager. cleanupCases(CleanupPolicyType closedCasesPolicy, RunningTask task, OperationResult opResult)
Deletes obsolete cases, as specified in the policy.
-