Uses of Interface
com.evolveum.midpoint.task.api.RunningTask
-
-
Uses of RunningTask in com.evolveum.midpoint.cases.api
Methods in com.evolveum.midpoint.cases.api with parameters of type RunningTask Modifier and Type Method Description voidCaseManager. cleanupCases(@NotNull CleanupPolicyType closedCasesPolicy, @NotNull RunningTask task, @NotNull OperationResult opResult)Deletes obsolete cases, as specified in the policy. -
Uses of RunningTask in com.evolveum.midpoint.model.api.trigger
Methods in com.evolveum.midpoint.model.api.trigger with parameters of type RunningTask Modifier and Type Method Description <O extends ObjectType>
Collection<TriggerType>MultipleTriggersHandler. handle(@NotNull PrismObject<O> object, @NotNull Collection<TriggerType> triggers, @NotNull RunningTask task, @NotNull OperationResult result)Precondition: triggers have the same timestamp -
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 booleanShadowRefreshActivityHandler.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 booleanShadowIntegrityCheckActivityRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
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 booleanAsyncUpdateActivityRun. 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 booleanImportActivityRun. 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 booleanResourceObjectsReconciliationActivityRun. 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 booleanLiveSyncActivityRun. 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)ObjectQueryAdvancedActivityRunSupportImpl. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)booleanShadowCleanupActivityHandler.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 booleanAutoScalingActivityRun. 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 booleanFocusValidityScanPartialRun. 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 IntegerModelAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerModelContainerableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerModelObjectSource. 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>
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)booleanTriggerScanItemProcessor. processObject(@NotNull ObjectType object, @NotNull RunningTask workerTask, @NotNull OperationResult result) -
Uses of RunningTask in com.evolveum.midpoint.notifications.api.events
Methods in com.evolveum.midpoint.notifications.api.events that return RunningTask Modifier and Type Method Description @NotNull RunningTaskActivityEvent. getRunningTask()Task in context of which the activity will execute, executes, or was executed. -
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 voidPreRunnable. 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 RunningTaskAbstractActivityRun. 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)ObjectQueryAdvancedActivityRunSupport. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)Assuming that query has expressions.abstract booleanIterativeActivityRun. processItem(@NotNull ItemProcessingRequest<I> request, @NotNull RunningTask workerTask, OperationResult result)booleanSearchBasedActivityRun. processItem(@NotNull ItemProcessingRequest<C> request, @NotNull RunningTask workerTask, OperationResult result)booleanSearchBasedActivityRunSpecifics. processItem(C item, @NotNull ItemProcessingRequest<C> request, RunningTask workerTask, OperationResult result)Processes given item that came as part of a request. -
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 booleanItemProcessingRequest. process(RunningTask workerTask, OperationResult result)booleanItemProcessor. 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 voidInternalOperationsReport. add(@NotNull ItemProcessingRequest<?> request, @NotNull WorkBucketType bucket, @NotNull OperationResult reportedResult, @NotNull RunningTask task, @NotNull OperationResult result)voidConnIdOperationsReport. flush(@NotNull RunningTask task, @NotNull OperationResult result)voidBucketsReport. recordBucketCompleted(@NotNull BucketProcessingRecordType record, @NotNull RunningTask task, @NotNull OperationResult result)Writes a line about bucket that was just completed.voidItemsReport. 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 IntegerRepoAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerRepoObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerSearchableItemSource. 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 RunningTaskActivityBasedTaskRun. getRunningTask()@NotNull RunningTaskTaskRun. 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 voidActivityBasedTaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result)TaskRunResultActivityBasedTaskHandler. 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 voidOperationExecutionRecorderForTasks. 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 voidReportManager. 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 interfaceRunningLightweightTaskRunning lightweight asynchronous task.Methods in com.evolveum.midpoint.task.api that return RunningTask Modifier and Type Method Description RunningTaskTaskManager. createFakeRunningTask(Task task)Use only for tests.RunningTaskRunningLightweightTask. getLightweightTaskParent()Returns the in-memory version of the parent task.RunningTaskTaskManager. 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 voidTaskManager. cleanupNodes(@NotNull DeadNodeCleanupPolicyType deadNodesPolicy, @NotNull Predicate<NodeType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)Deletes dead nodes, i.e.voidTaskManager. cleanupTasks(@NotNull CleanupPolicyType closedTasksPolicy, @NotNull Predicate<TaskType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)Deletes obsolete tasks, as specified in the policy.default voidTaskHandler. 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.TaskRunResultTaskHandler. run(@NotNull RunningTask task)Executes a task handler.voidTaskManager. waitForTransientChildrenAndCloseThem(RunningTask task, OperationResult result)Should be called only from the thread that created the children - to avoid race conditions.
-