Package com.evolveum.midpoint.task.api
Class TaskUtil
java.lang.Object
com.evolveum.midpoint.task.api.TaskUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskfindByIdentifier(@NotNull String identifier, @NotNull Collection<Task> tasks) static booleanfindExtensionItemValueInThisOrParent(Task task, QName path, boolean defaultValue) static @NotNull ExecutionModeTypegetExecutionMode(Task task) getLeafTasks(List<? extends Task> allSubtasksInTree) static booleanDeprecated.static booleanDeprecated.static voidtasksToOids(List<? extends Task> tasks)
-
Constructor Details
-
TaskUtil
public TaskUtil()
-
-
Method Details
-
tasksToOids
-
findByIdentifier
public static Task findByIdentifier(@NotNull @NotNull String identifier, @NotNull @NotNull Collection<Task> tasks) -
getExecutionMode
-
isDryRun
Deprecated. -
isExecute
Deprecated. -
findExtensionItemValueInThisOrParent
public static boolean findExtensionItemValueInThisOrParent(Task task, QName path, boolean defaultValue) throws SchemaException - Throws:
SchemaException
-
getLeafTasks
-
logClusteringWithoutSubscriptionError
public static void logClusteringWithoutSubscriptionError()
-