Uses of Class
com.evolveum.midpoint.schema.util.task.ActivityPath
Package
Description
Contains the activity framework: the code that supports execution of activities within tasks.
Classes that support execution (run) of activities.
-
Uses of ActivityPath in com.evolveum.midpoint.model.api
Modifier and TypeFieldDescriptionstatic final ActivityPath
ModelPublicConstants.FOCUS_VALIDITY_SCAN_ASSIGNMENTS_PATH
static final ActivityPath
ModelPublicConstants.FOCUS_VALIDITY_SCAN_FULL_PATH
static final ActivityPath
ModelPublicConstants.FOCUS_VALIDITY_SCAN_OBJECTS_PATH
static final ActivityPath
ModelPublicConstants.RECONCILIATION_OPERATION_COMPLETION_PATH
static final ActivityPath
ModelPublicConstants.RECONCILIATION_REMAINING_SHADOWS_PATH
static final ActivityPath
ModelPublicConstants.RECONCILIATION_RESOURCE_OBJECTS_PATH
-
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity
Modifier and TypeMethodDescription@Nullable ActivityPath
Activity.getLocalPath()
@NotNull ActivityPath
Activity.getPath()
Modifier and TypeMethodDescription@NotNull Map<ActivityPath,
WorkersReconciliationResultType> TaskActivityManager.reconcileWorkers
(@NotNull String rootTaskOid, @NotNull OperationResult parentResult) Note that we reconcile only workers for distributed activities that already have their state.Modifier and TypeMethodDescription@NotNull Activity<?,
?> ActivityTree.getActivity
(ActivityPath path) @NotNull Activity<?,
?> TaskActivityManager.getActivity
(Task rootTask, ActivityPath activityPath) -
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity.run
-
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity.run.buckets
Modifier and TypeMethodDescriptionvoid
BucketingManager.completeWorkBucket
(@NotNull String coordinatorTaskOid, @Nullable String workerTaskOid, @NotNull ActivityPath activityPath, int sequentialNumber, @Nullable ActivityBucketManagementStatistics statistics, @Nullable Consumer<BucketProgressOverviewType> bucketProgressConsumer, @NotNull OperationResult result) Marks a work bucket as complete.BucketingManager.getWorkBucket
(@NotNull String coordinatorTaskOid, @Nullable String workerTaskOid, @NotNull ActivityPath activityPath, @Nullable GetBucketOperationOptions options, ActivityBucketManagementStatistics statistics, @NotNull OperationResult result) Obtains work bucket.void
BucketingManager.releaseAllWorkBucketsFromWorker
(@NotNull String coordinatorTaskOid, @NotNull String workerTaskOid, @NotNull ActivityPath activityPath, ActivityBucketManagementStatistics statistics, OperationResult result) Releases all work buckets from a suspended worker.void
BucketingManager.releaseWorkBucket
(@NotNull String coordinatorTaskOid, @NotNull String workerTaskOid, @NotNull ActivityPath activityPath, int sequentialNumber, ActivityBucketManagementStatistics statistics, OperationResult result) Releases work bucket. -
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity.run.distribution
ModifierConstructorDescriptionWorkersReconciliation
(@NotNull Task rootTask, @NotNull Task coordinatorTask, @NotNull ActivityPath activityPath, WorkersReconciliationOptions options, @NotNull CommonTaskBeans beans) -
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity.run.reports
Modifier and TypeMethodDescriptionstatic @Nullable String
ActivityReportUtil.getReportDataOid
(@NotNull TaskActivityStateType taskActivityState, @NotNull ActivityPath path, @NotNull ItemName reportKind, @NotNull String nodeId) -
Uses of ActivityPath in com.evolveum.midpoint.repo.common.activity.run.state
Modifier and TypeMethodDescriptionabstract @NotNull ActivityPath
ActivityState.getActivityPath()
@NotNull ActivityPath
CurrentActivityState.getActivityPath()
@NotNull ActivityPath
OtherActivityState.getActivityPath()
Modifier and TypeMethodDescriptionstatic @NotNull ActivityState
ActivityState.getActivityStateDownwards
(@NotNull ActivityPath activityPath, @NotNull Task task, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result) Gets the state of the given activity, starting from the `task` and going downwards.static @NotNull ActivityState
ActivityState.getActivityStateUpwards
(@NotNull ActivityPath activityPath, @NotNull Task task, @Nullable QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result) Returns activity state for given path, crawling from the current task upwards. -
Uses of ActivityPath in com.evolveum.midpoint.repo.common.util
Modifier and TypeMethodDescriptionvoid
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 ActivityPath in com.evolveum.midpoint.schema.constants
Modifier and TypeFieldDescriptionstatic final ActivityPath
SchemaConstants.PATH_AUDIT_RECORDS_CLEANUP
static final ActivityPath
SchemaConstants.PATH_CLOSED_CASES_CLEANUP
static final ActivityPath
SchemaConstants.PATH_CLOSED_CERTIFICATION_CAMPAIGNS_CLEANUP
static final ActivityPath
SchemaConstants.PATH_CLOSED_TASKS_CLEANUP
static final ActivityPath
SchemaConstants.PATH_DEAD_NODES_CLEANUP
static final ActivityPath
SchemaConstants.PATH_OUTPUT_REPORTS_CLEANUP
-
Uses of ActivityPath in com.evolveum.midpoint.schema.statistics
Modifier and TypeMethodDescriptionstatic ActivityStatisticsType
ActivityStatisticsUtil.findOrCreateMatchingInfo
(@NotNull ActivityStatisticsType current, ActivityPath activityPath, boolean create) static ActivityStatisticsType
ActivityStatisticsUtil.getActivityStatsFromTree
(@NotNull TaskType root, @NotNull ActivityPath path) Summarizes activity statistics from a task tree. -
Uses of ActivityPath in com.evolveum.midpoint.schema.util.task
Modifier and TypeMethodDescription@NotNull ActivityPath
ActivityPath.allExceptLast()
static ActivityPath
ActivityPath.empty()
static @NotNull ActivityPath
ActivityPath.fromBean
(@Nullable ActivityPathType bean) static ActivityPath
static ActivityPath
ActivityPerformanceInformation.getActivityPath()
@NotNull ActivityPath
ActivityProgressInformation.getActivityPath()
@NotNull ActivityPath
ActivityTreeUtil.ActivityStateInContext.getActivityPath()
@NotNull ActivityPath
ActivityTreeUtil.ActivityStateInLocalContext.getActivityPath()
static ActivityPath
ActivityStateUtil.getLocalRootPath
(TaskActivityStateType taskState) ActivityPath.rest()
Modifier and TypeMethodDescriptionActivityProgressInformation.find
(ActivityPath activityPath) static @Nullable ActivityStateOverviewType
ActivityStateOverviewUtil.findEntry
(@NotNull ActivityStateOverviewType current, @NotNull ActivityPath path) static @NotNull ActivityStateOverviewType
ActivityStateOverviewUtil.findOrCreateEntry
(@NotNull ActivityStateOverviewType current, @NotNull ActivityPath path) static @NotNull ActivityPerformanceInformation
ActivityPerformanceInformation.forCoordinator
(@NotNull ActivityPath path, @NotNull Collection<ActivityStateType> workerStates) static @NotNull ActivityPerformanceInformation
ActivityPerformanceInformation.forRegularActivity
(@NotNull ActivityPath path, @Nullable ActivityItemProcessingStatisticsType itemStats, @Nullable ActivityProgressType activityProgress) static @NotNull ActivityPerformanceInformation
ActivityPerformanceInformation.forRegularActivity
(@NotNull ActivityPath path, @Nullable ActivityStateType state) static @NotNull ActivityProgressInformation
ActivityProgressInformationBuilder.fromTask
(@NotNull TaskType task, @NotNull ActivityPath activityPath, @NotNull TaskResolver resolver, @NotNull ActivityProgressInformationBuilder.InformationSource informationSource) static ActivityStateType
ActivityStateUtil.getActivityState
(@NotNull TaskType task, @NotNull ActivityPath activityPath) Finds a state of an activity, given the activity path.static ActivityStateType
ActivityStateUtil.getActivityState
(@Nullable TaskActivityStateType taskState, @NotNull ActivityPath activityPath) Finds a state of an activity, given the activity path.static @NotNull ActivityStateType
ActivityStateUtil.getActivityStateRequired
(@NotNull TaskActivityStateType taskState, @NotNull ActivityPath activityPath) Finds a state of an activity, given the activity path.static @NotNull List<WorkBucketType>
BucketingUtil.getBuckets
(@NotNull TaskActivityStateType taskState, @NotNull ActivityPath activityPath) static int
ActivityProgressUtil.getCurrentErrors
(TaskType localTask, ActivityPath activityPath) static int
ActivityProgressUtil.getCurrentProgress
(TaskType localTask, ActivityPath activityPath) static @NotNull ItemPath
ActivityStateUtil.getStateItemPath
(@NotNull TaskActivityStateType workState, @NotNull ActivityPath activityPath) Determines state item path for a given activity path.ActivityTreeUtil.getSubtasksForPath
(TaskType task, ActivityPath activityPath, TaskResolver taskResolver) static @Nullable Object
ActivityStateUtil.getSyncTokenRealValue
(@NotNull TaskType task, @NotNull ActivityPath path) static boolean
BucketingUtil.isInScavengingPhase
(TaskActivityStateType taskState, ActivityPath activityPath) static boolean
ActivityStateUtil.isLocal
(@NotNull ActivityPath activityPath, @NotNull TaskActivityStateType taskActivityState) static boolean
BucketingUtil.isScavenger
(TaskActivityStateType taskState, ActivityPath activityPath) ActivityPerformanceInformation.notApplicable
(@NotNull ActivityPath path) void
ActivityTreeUtil.ActivityStateProcessor.process
(@NotNull ActivityPath path, @Nullable ActivityStateType state, @Nullable List<ActivityStateType> workerStates, @NotNull TaskType task) Called when relevant state is found.void
ActivityTreeUtil.LocalActivityStateProcessor.process
(@NotNull ActivityPath path, @NotNull ActivityStateType state) boolean
ActivityPath.startsWith
(ActivityPath otherPath) ActivityTreeUtil.ActivityStateTransformer.transform
(@NotNull ActivityPath path, @Nullable ActivityStateType state, @Nullable List<ActivityStateType> workerStates, @NotNull TaskType task) Worker states are present in the case of distributed coordinator-workers scenario.ActivityTreeUtil.LocalActivityStateTransformer.transform
(@NotNull ActivityPath path, @NotNull ActivityStateType state) -
Uses of ActivityPath in com.evolveum.midpoint.task.api
Modifier and TypeMethodDescription@NotNull ActivityPath
ExecutionSupport.getActivityPath()
Returns the path of the activity we are executing.Modifier and TypeMethodDescriptiondefault @Nullable ActivityStateType
Task.getActivityStateOrClone
(@NotNull ActivityPath activityPath) Returns the activity state for given activity path.