Class TaskUtil


  • public class TaskUtil
    extends Object
    Utility methods related to the Task objects. The ones that refer only to `TaskType` objects are located in the schema module, e.g. in TaskTypeUtil class.
    • Constructor Detail

      • TaskUtil

        public TaskUtil()
    • Method Detail

      • findByIdentifier

        public static Task findByIdentifier​(@NotNull
                                            @NotNull String identifier,
                                            @NotNull
                                            @NotNull Collection<Task> tasks)
      • isDryRun

        @Deprecated
        public static boolean isDryRun​(Task task)
        Deprecated.
      • isExecute

        @Deprecated
        public static boolean isExecute​(Task task)
        Deprecated.
      • findExtensionItemValueInThisOrParent

        public static boolean findExtensionItemValueInThisOrParent​(Task task,
                                                                   QName path,
                                                                   boolean defaultValue)
                                                            throws SchemaException
        Throws:
        SchemaException
      • getLeafTasks

        public static List<? extends Task> getLeafTasks​(List<? extends Task> allSubtasksInTree)