Class TaskTypeUtil


  • public class TaskTypeUtil
    extends Object
    Author:
    mederly
    • Constructor Detail

      • TaskTypeUtil

        public TaskTypeUtil()
    • Method Detail

      • getAllTasksStream

        @NotNull
        public static @NotNull Stream<TaskType> getAllTasksStream​(TaskType root)
        Returns a stream of the task and all of its subtasks.
      • isCoordinator

        public static boolean isCoordinator​(TaskType task)
      • isPartitionedMaster

        public static boolean isPartitionedMaster​(TaskType task)
      • getObjectsProcessed

        public static int getObjectsProcessed​(TaskType task)
      • getObjectsProcessedFailures

        public static int getObjectsProcessedFailures​(TaskType task,
                                                      PrismContext prismContext)
      • isWorkStateHolder

        public static boolean isWorkStateHolder​(TaskType taskType)