Class TaskActivityManager
java.lang.Object
com.evolveum.midpoint.repo.common.activity.TaskActivityManager
Provides common functionality related to activities (something like 
TaskManager does for tasks).- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable TaskAffectedObjectsTypecomputeAffectedObjects(@Nullable ActivityDefinitionType activityDefinitionBean) Computes affected objects for a given activity definition, either simple or composite.voiddeleteActivityStateAndWorkers(@NotNull String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, OperationResult parentResult) TODO somehow unify with TaskStatePurger@NotNull Activity<?,?> getActivity(Task rootTask, ActivityPath activityPath) getPerformanceInformation(String rootTaskOid, OperationResult result) getProgressInformation(@NotNull String rootTaskOid, @NotNull ActivityProgressInformationBuilder.InformationSource source, @NotNull OperationResult result) getProgressInformationFromTaskTree(String rootTaskOid, OperationResult result) Assumes that the whole task tree is loaded.@NotNull Map<ActivityPath,WorkersReconciliationResultType> reconcileWorkers(@NotNull String rootTaskOid, @NotNull OperationResult parentResult) Note that we reconcile only workers for distributed activities that already have their state.
- 
Constructor Details- 
TaskActivityManagerpublic TaskActivityManager()
 
- 
- 
Method Details- 
getProgressInformationFromTaskTreepublic ActivityProgressInformation getProgressInformationFromTaskTree(String rootTaskOid, OperationResult result) throws SchemaException, ObjectNotFoundException Assumes that the whole task tree is loaded.
- 
getProgressInformationpublic ActivityProgressInformation getProgressInformation(@NotNull @NotNull String rootTaskOid, @NotNull @NotNull ActivityProgressInformationBuilder.InformationSource source, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException 
- 
getPerformanceInformationpublic TreeNode<ActivityPerformanceInformation> getPerformanceInformation(String rootTaskOid, OperationResult result) throws SchemaException, ObjectNotFoundException 
- 
getActivity@NotNull public @NotNull Activity<?,?> getActivity(Task rootTask, ActivityPath activityPath) throws SchemaException, ConfigurationException 
- 
reconcileWorkers@NotNull public @NotNull Map<ActivityPath,WorkersReconciliationResultType> reconcileWorkers(@NotNull @NotNull String rootTaskOid, @NotNull @NotNull OperationResult parentResult) throws SchemaException, ObjectNotFoundException Note that we reconcile only workers for distributed activities that already have their state.
- 
deleteActivityStateAndWorkerspublic void deleteActivityStateAndWorkers(@NotNull @NotNull String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, OperationResult parentResult) throws SchemaException, ObjectNotFoundException TODO somehow unify with TaskStatePurger
- 
computeAffectedObjects@Nullable public @Nullable TaskAffectedObjectsType computeAffectedObjects(@Nullable @Nullable ActivityDefinitionType activityDefinitionBean) throws SchemaException, ConfigurationException Computes affected objects for a given activity definition, either simple or composite.
 
-