Class TaskUtil

java.lang.Object
com.evolveum.midpoint.task.api.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 Details

    • TaskUtil

      public TaskUtil()
  • Method Details

    • tasksToOids

      public static List<String> tasksToOids(List<? extends Task> tasks)
    • findByIdentifier

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

      @NotNull public static @NotNull ExecutionModeType getExecutionMode(Task task)
    • 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)
    • logClusteringWithoutSubscriptionError

      public static void logClusteringWithoutSubscriptionError()