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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Task
findByIdentifier
(@NotNull String identifier, @NotNull Collection<Task> tasks) static boolean
findExtensionItemValueInThisOrParent
(Task task, QName path, boolean defaultValue) static @NotNull ExecutionModeType
getExecutionMode
(Task task) getLeafTasks
(List<? extends Task> allSubtasksInTree) static boolean
Deprecated.static boolean
Deprecated.static void
tasksToOids
(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()
-