Package com.evolveum.midpoint.task.api
Class TaskUtil
- java.lang.Object
-
- com.evolveum.midpoint.task.api.TaskUtil
-
public class TaskUtil extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description TaskUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Task
findByIdentifier(String identifier, Collection<Task> tasks)
static boolean
findExtensionItemValueInThisOrParent(Task task, QName path, boolean defaultValue)
static boolean
isDryRun(Task task)
The methods below should be in class like "TaskUtilForProvisioning".static List<String>
tasksToOids(List<Task> tasks)
-
-
-
Method Detail
-
findByIdentifier
public static Task findByIdentifier(@NotNull String identifier, @NotNull Collection<Task> tasks)
-
isDryRun
public static boolean isDryRun(Task task) throws SchemaException
The methods below should be in class like "TaskUtilForProvisioning". For simplicity let's keep them here for now.- Throws:
SchemaException
-
findExtensionItemValueInThisOrParent
public static boolean findExtensionItemValueInThisOrParent(Task task, QName path, boolean defaultValue) throws SchemaException
- Throws:
SchemaException
-
-