Class ActivityStatisticsUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.ActivityStatisticsUtil
-
public class ActivityStatisticsUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ActivityStatisticsUtil()
-
Method Summary
-
-
-
Method Detail
-
findOrCreateMatchingInfo
public static ActivityStatisticsType findOrCreateMatchingInfo(@NotNull @NotNull ActivityStatisticsType current, ActivityPath activityPath, boolean create)
-
getAllItemsProcessed
public static Integer getAllItemsProcessed(TaskActivityStateType taskActivityState)
Returns the total number of items processed in all activities in this physical task. Used e.g. to provide "iterations" for task internal performance counters.
-
getAllFailures
public static Integer getAllFailures(@Nullable @Nullable TaskActivityStateType taskActivityState)
Returns the total number of failures in all activities in this physical task.
-
getSynchronizationTransitions
public static List<SynchronizationSituationTransitionType> getSynchronizationTransitions(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree)
-
getResultingActionsExecuted
public static List<ObjectActionsExecutedEntryType> getResultingActionsExecuted(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree)
-
getAllActionsExecuted
public static List<ObjectActionsExecutedEntryType> getAllActionsExecuted(@NotNull @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext> tree)
-
getAllStatisticsPaths
public static List<ItemPath> getAllStatisticsPaths(@NotNull @NotNull TaskType task)
Returns all paths in activity states that point to the statistics. Local to the current task!
-
getStatePathsStream
public static Stream<ItemPath> getStatePathsStream(@NotNull @NotNull TaskType task)
-
getActivityStatsFromTree
public static ActivityStatisticsType getActivityStatsFromTree(@NotNull @NotNull TaskType root, @NotNull @NotNull ActivityPath path)
Summarizes activity statistics from a task tree.
-
format
public static String format(@Nullable @Nullable ActivityStatisticsType statistics)
-
-