Class ActivityStatisticsUtil
java.lang.Object
com.evolveum.midpoint.schema.statistics.ActivityStatisticsUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ActivityStatisticsTypefindOrCreateMatchingInfo(@NotNull ActivityStatisticsType current, ActivityPath activityPath, boolean create) static Stringformat(@Nullable ActivityStatisticsType statistics) static ActivityStatisticsTypegetActivityStatsFromTree(@NotNull TaskType root, @NotNull ActivityPath path) Summarizes activity statistics from a task tree.static List<ObjectActionsExecutedEntryType>getAllActionsExecuted(@NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree) static IntegergetAllFailures(@Nullable TaskActivityStateType taskActivityState) Returns the total number of failures in all activities in this physical task.static IntegergetAllItemsProcessed(TaskActivityStateType taskActivityState) Returns the total number of items processed in all activities in this physical task.getAllStatisticsPaths(@NotNull TaskType task) Returns all paths in activity states that point to the statistics.static List<ObjectActionsExecutedEntryType>getStatePathsStream(@NotNull TaskType task) 
- 
Constructor Details- 
ActivityStatisticsUtilpublic ActivityStatisticsUtil()
 
- 
- 
Method Details- 
findOrCreateMatchingInfopublic static ActivityStatisticsType findOrCreateMatchingInfo(@NotNull @NotNull ActivityStatisticsType current, ActivityPath activityPath, boolean create) 
- 
getAllItemsProcessedReturns the total number of items processed in all activities in this physical task. Used e.g. to provide "iterations" for task internal performance counters.
- 
getAllFailuresReturns the total number of failures in all activities in this physical task.
- 
getSynchronizationTransitionspublic static List<SynchronizationSituationTransitionType> getSynchronizationTransitions(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree) 
- 
getResultingActionsExecutedpublic static List<ObjectActionsExecutedEntryType> getResultingActionsExecuted(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree) 
- 
getAllActionsExecutedpublic static List<ObjectActionsExecutedEntryType> getAllActionsExecuted(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree) 
- 
getAllStatisticsPathsReturns all paths in activity states that point to the statistics. Local to the current task!
- 
getStatePathsStream
- 
getActivityStatsFromTreepublic static ActivityStatisticsType getActivityStatsFromTree(@NotNull @NotNull TaskType root, @NotNull @NotNull ActivityPath path) Summarizes activity statistics from a task tree.
- 
format
 
-