Uses of Interface
com.evolveum.midpoint.task.api.RunningTask
Packages that use RunningTask
Package
Description
-
Uses of RunningTask in com.evolveum.midpoint.cases.api
Methods in com.evolveum.midpoint.cases.api with parameters of type RunningTaskModifier and TypeMethodDescriptionvoidCaseManager.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 RunningTaskModifier and TypeMethodDescription<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 RunningTaskModifier and TypeMethodDescriptionbooleanShadowRefreshActivityHandler.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 RunningTaskModifier and TypeMethodDescriptionbooleanShadowIntegrityCheckActivityRun.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 RunningTaskModifier and TypeMethodDescriptionbooleanAsyncUpdateActivityRun.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 RunningTaskModifier and TypeMethodDescriptionbooleanAbstractImportActivityRun.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 RunningTaskModifier and TypeMethodDescriptionbooleanResourceObjectsReconciliationActivityRun.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 RunningTaskModifier and TypeMethodDescriptionbooleanLiveSyncActivityRun.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 RunningTaskModifier and TypeMethodDescription@NotNull SearchSpecification<?>AdvancedActivityRunSupportImpl.createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl objectSetSpecification, @NotNull RunningTask task, OperationResult result) AdvancedActivityRunSupportImpl.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 RunningTaskModifier and TypeMethodDescriptionbooleanAutoScalingActivityRun.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 RunningTaskModifier and TypeMethodDescriptionbooleanFocusValidityScanPartialRun.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 RunningTaskModifier and TypeMethodDescriptionModelAuditItemSource.count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result) ModelContainerableItemSource.count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result) 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 RunningTaskModifier and TypeMethodDescription<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 RunningTaskModifier and TypeMethodDescription@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 RunningTaskModifier and TypeMethodDescriptionvoidActivityTree.purgeState(ActivityPath rootPath, RunningTask runningTask, boolean restarting, OperationResult result) Purges the activity state (before new realization - on regular next run or on restart): both in state overview and in detailed states.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 RunningTaskMethods in com.evolveum.midpoint.repo.common.activity.run with parameters of type RunningTaskModifier and TypeMethodDescription@NotNull SearchSpecification<?>AdvancedActivityRunSupport.createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl resourceObjectSetSpecification, @NotNull RunningTask task, OperationResult result) AdvancedActivityRunSupport.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) final 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 RunningTaskModifier and TypeMethodDescriptionbooleanItemProcessingRequest.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 RunningTaskModifier and TypeMethodDescriptionvoidInternalOperationsReport.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 RunningTaskModifier and TypeMethodDescriptionRepoAuditItemSource.count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result) RepoObjectSource.count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result) 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.state
Constructors in com.evolveum.midpoint.repo.common.activity.run.state with parameters of type RunningTaskModifierConstructorDescriptionActivityTreePurger(@NotNull ActivityPath rootPath, @NotNull RunningTask runningTask, boolean restarting) -
Uses of RunningTask in com.evolveum.midpoint.repo.common.activity.run.task
Methods in com.evolveum.midpoint.repo.common.activity.run.task that return RunningTaskModifier and TypeMethodDescription@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 RunningTaskModifier and TypeMethodDescriptionvoidActivityBasedTaskHandler.onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result) 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 RunningTaskModifier and TypeMethodDescriptionvoidOperationExecutionRecorderForTasks.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 RunningTaskModifier and TypeMethodDescriptionvoidReportManager.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.apiModifier and TypeInterfaceDescriptioninterfaceRunning lightweight asynchronous task.Methods in com.evolveum.midpoint.task.api that return RunningTaskModifier and TypeMethodDescriptionTaskManager.createFakeRunningTask(Task task) Use only for tests.RunningLightweightTask.getLightweightTaskParent()Returns the in-memory version of the parent task.TaskManager.getLocallyRunningTaskByIdentifier(String lightweightIdentifier) Returns locally-run task by identifier.Methods in com.evolveum.midpoint.task.api with parameters of type RunningTaskModifier and TypeMethodDescriptionvoidTaskManager.cleanupNodes(@NotNull DeadNodeCleanupPolicyType deadNodesPolicy, @NotNull Predicate<NodeType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult) Deletes dead nodes, i.e. ones that are not checking-in, and the last checkin time is older than specified time period.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. did not update its progress for a given (long) time.TaskHandler.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.