Uses of Class
com.evolveum.midpoint.xml.ns._public.common.common_3.TaskType
-
-
Uses of TaskType in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that return TaskType Modifier and Type Method Description @NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, com.evolveum.midpoint.task.api.Task opTask, OperationResult result)
@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, com.evolveum.midpoint.task.api.Task opTask, OperationResult result)
Methods in com.evolveum.midpoint.model.api that return types with arguments of type TaskType Modifier and Type Method Description PrismObject<TaskType>
TaskService. getTaskByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> options, com.evolveum.midpoint.task.api.Task operationTask, OperationResult parentResult)
Returns information about task, given its identifier. -
Uses of TaskType in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that return TaskType Modifier and Type Method Description TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid)
TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, com.evolveum.midpoint.task.api.Task opTask, OperationResult result)
TaskType
MidpointFunctions. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems)
TaskType
MidpointFunctions. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues)
-
Uses of TaskType in com.evolveum.midpoint.schema.statistics
Methods in com.evolveum.midpoint.schema.statistics with parameters of type TaskType Modifier and Type Method Description static ActivityStatisticsType
ActivityStatisticsUtil. getActivityStatsFromTree(@NotNull TaskType root, @NotNull ActivityPath path)
Summarizes activity statistics from a task tree.static List<ItemPath>
ActivityStatisticsUtil. getAllStatisticsPaths(@NotNull TaskType task)
Returns all paths in activity states that point to the statistics.static Stream<ItemPath>
ActivityStatisticsUtil. getStatePathsStream(@NotNull TaskType task)
static String
ActivityProgressAndStatisticsPrinter. print(@NotNull TaskType task)
Prints all relevant statistics (including progress) for all activities in the given task. -
Uses of TaskType in com.evolveum.midpoint.schema.util.task
Fields in com.evolveum.midpoint.schema.util.task declared as TaskType Modifier and Type Field Description protected @NotNull TaskType
TaskInformation. task
The original task.Methods in com.evolveum.midpoint.schema.util.task that return TaskType Modifier and Type Method Description static TaskType
TaskTreeUtil. findChild(TaskType parent, String childOid)
static TaskType
TaskTreeUtil. findChildIfResolved(TaskType parent, String childOid)
@NotNull TaskType
ActivityTreeUtil.ActivityStateInContext. getTask()
@NotNull TaskType
TaskInformation. getTask()
@NotNull TaskType
TaskResolver. resolve(String oid)
Methods in com.evolveum.midpoint.schema.util.task that return types with arguments of type TaskType Modifier and Type Method Description static @NotNull Stream<TaskType>
TaskTreeUtil. getAllTasksStream(TaskType root)
Returns a stream of the task and all of its subtasks.static List<TaskType>
TaskTreeUtil. getResolvedSubtasks(TaskType parent)
Get resolved direct subtasks from a task.static List<TaskType>
TaskTreeUtil. getResolvedSubtasks(TaskType parent, TaskResolver taskResolver)
static @NotNull List<TaskType>
ActivityTreeUtil. getSubtasksForPath(TaskType task, ActivityPath activityPath, TaskResolver taskResolver)
Methods in com.evolveum.midpoint.schema.util.task with parameters of type TaskType Modifier and Type Method Description static void
TaskTreeUtil. addSubtask(TaskType parent, TaskType child, PrismContext prismContext)
Adds a subtask to parent children list.static boolean
TaskTreeUtil. allSubtasksAreResolved(TaskType parent)
static @NotNull TaskInformation
TaskInformation. createForTask(@NotNull TaskType task, @Nullable TaskType rootTask)
static String
TaskTypeUtil. createScheduledToRunAgain(TaskType task, List<Object> localizationObject)
static TaskType
TaskTreeUtil. findChild(TaskType parent, String childOid)
static TaskType
TaskTreeUtil. findChildIfResolved(TaskType parent, String childOid)
static @NotNull TaskInformation
LegacyTaskInformation. fromLegacyTaskOrNoTask(@Nullable TaskType task)
static @NotNull ActivityProgressInformation
ActivityProgressInformation. fromRootTask(@NotNull TaskType task, @NotNull ActivityProgressInformationBuilder.InformationSource source)
Prepares the information from a root task.static @NotNull ActivityProgressInformation
ActivityProgressInformation. fromRootTask(@NotNull TaskType task, @NotNull TaskResolver resolver, @NotNull ActivityProgressInformationBuilder.InformationSource source)
Prepares the information from a root task.static @NotNull ActivityProgressInformation
ActivityProgressInformationBuilder. fromTask(@NotNull TaskType task, @NotNull ActivityPath activityPath, @NotNull TaskResolver resolver, @NotNull ActivityProgressInformationBuilder.InformationSource informationSource)
static ActivityStateType
ActivityStateUtil. getActivityState(@NotNull TaskType task, @NotNull ItemPath stateItemPath)
Finds a state of an activity, given the state item path.static ActivityStateType
ActivityStateUtil. getActivityState(@NotNull TaskType task, @NotNull ActivityPath activityPath)
Finds a state of an activity, given the activity path.static @NotNull Stream<TaskType>
TaskTreeUtil. getAllTasksStream(TaskType root)
Returns a stream of the task and all of its subtasks.static int
ActivityProgressUtil. getCurrentErrors(TaskType localTask, ActivityPath activityPath)
static int
ActivityProgressUtil. getCurrentProgress(TaskType localTask, ActivityPath activityPath)
static @NotNull TaskRecurrenceType
TaskTypeUtil. getEffectiveRecurrence(@NotNull TaskType task)
Determines effective value of task recurrence flag: if set explicitly (either new or legacy variant) we use that one, otherwise we use schedule.interval/cronLikePattern presence.static String
ActivityItemProcessingStatisticsUtil. getLastSuccessObjectName(@NotNull TaskType task)
Returns object that was last successfully processed by given physical task.static OperationStatsType
TaskOperationStatsUtil. getOperationStatsFromTree(TaskType root, PrismContext prismContext)
Provides aggregated operation statistics from this task and all its subtasks.static @NotNull ActivityStateOverviewType
ActivityStateOverviewUtil. getOrCreateStateOverview(@NotNull TaskType task)
static List<TaskType>
TaskTreeUtil. getResolvedSubtasks(TaskType parent)
Get resolved direct subtasks from a task.static List<TaskType>
TaskTreeUtil. getResolvedSubtasks(TaskType parent, TaskResolver taskResolver)
static @Nullable Object
ActivityStateUtil. getRootSyncTokenRealValue(@NotNull TaskType task)
static @NotNull Object
ActivityStateUtil. getRootSyncTokenRealValueRequired(@NotNull TaskType task)
static Long
TaskTypeUtil. getScheduledToStartAgain(TaskType task)
static @Nullable TaskRecurrenceType
TaskTypeUtil. getSpecifiedRecurrence(@NotNull TaskType task)
Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant.static @Nullable ActivityStateOverviewType
ActivityStateOverviewUtil. getStateOverview(@NotNull TaskType task)
static @NotNull List<TaskType>
ActivityTreeUtil. getSubtasksForPath(TaskType task, ActivityPath activityPath, TaskResolver taskResolver)
static @Nullable Object
ActivityStateUtil. getSyncTokenRealValue(@NotNull TaskType task, @NotNull ActivityPath path)
static boolean
ActivityStateUtil. hasDelegatedActivity(@NotNull TaskType task)
Is there any local activity that is delegated?static boolean
ActivityStateUtil. hasLocalDistributedActivity(@NotNull TaskType task)
Is there any distributed activity in this task (locally)?static boolean
TaskTypeUtil. isAutoScalingDisabled(TaskType task)
static boolean
ActivityStateUtil. isManageableTreeRoot(@NotNull TaskType task)
This is to determine if this task should be managed as a tree root (and not as a plain task).static boolean
ActivityStateUtil. isProgressAvailableLocally(@NotNull TaskType task)
static boolean
TaskTypeUtil. isTaskRecurring(@NotNull TaskType task)
void
ActivityTreeUtil.ActivityStateProcessor. process(@NotNull ActivityPath path, @Nullable ActivityStateType state, @Nullable List<ActivityStateType> workerStates, @NotNull TaskType task)
Called when relevant state is found.static void
ActivityTreeUtil. processLocalStates(@NotNull TaskType task, @NotNull ActivityTreeUtil.LocalActivityStateProcessor processor)
Processes local activity state objects using the same rules as inActivityTreeUtil.transformLocalStates(TaskType, LocalActivityStateTransformer)
(TaskType, ActivityStateTransformer)}: all states are treated the same.static void
ActivityTreeUtil. processStates(@NotNull TaskType rootTask, @NotNull TaskResolver resolver, @NotNull ActivityTreeUtil.ActivityStateProcessor processor)
Processes activity state objects using the same rules as inActivityTreeUtil.transformStates(TaskType, TaskResolver, ActivityStateTransformer)
: delegation states are ignored, distribution states are considered, along with all their workers' states.static @NotNull TreeNode<ActivityTreeUtil.ActivityStateInLocalContext>
ActivityTreeUtil. toLocalStateTree(@NotNull TaskType task)
Creates aTreeNode
ofActivityTreeUtil.ActivityStateInLocalContext
objects for activities locally contained in the task.static @NotNull TreeNode<ActivityTreeUtil.ActivityStateInContext>
ActivityTreeUtil. toStateTree(@NotNull TaskType rootTask, @NotNull TaskResolver resolver)
Special case ofActivityTreeUtil.transformStates(TaskType, TaskResolver, ActivityStateTransformer)
: creates aTreeNode
ofActivityTreeUtil.ActivityStateInContext
objects.X
ActivityTreeUtil.ActivityStateTransformer. transform(@NotNull ActivityPath path, @Nullable ActivityStateType state, @Nullable List<ActivityStateType> workerStates, @NotNull TaskType task)
Worker states are present in the case of distributed coordinator-workers scenario.static <X> @NotNull TreeNode<X>
ActivityTreeUtil. transformLocalStates(@NotNull TaskType rootTask, @NotNull ActivityTreeUtil.LocalActivityStateTransformer<X> transformer)
Transforms task-local activity state objects into custom ones, organized into a tree.static <X> @NotNull TreeNode<X>
ActivityTreeUtil. transformStates(@NotNull TaskType rootTask, @NotNull TaskResolver resolver, @NotNull ActivityTreeUtil.ActivityStateTransformer<X> transformer)
Transforms activity state objects into custom ones, organized into a tree.Constructors in com.evolveum.midpoint.schema.util.task with parameters of type TaskType Constructor Description TaskInformation(@NotNull TaskType task, @NotNull ActivityWorkersInformation workersInformation, @NotNull OperationResultStatusType overallStatus)
-
Uses of TaskType in com.evolveum.midpoint.schema.util.task.work
Methods in com.evolveum.midpoint.schema.util.task.work that return TaskType Modifier and Type Method Description @NotNull TaskType
LegacyWorkDefinitionSource. getTaskBean()
Methods in com.evolveum.midpoint.schema.util.task.work with parameters of type TaskType Modifier and Type Method Description static @NotNull WorkDefinitionSource
LegacyWorkDefinitionSource. create(@NotNull TaskType taskBean)
static @Nullable ResourceObjectSetType
ResourceObjectSetUtil. fromTask(TaskType task)
-
Uses of TaskType in com.evolveum.midpoint.xml.ns._public.common.common_3
Fields in com.evolveum.midpoint.xml.ns._public.common.common_3 with type parameters of type TaskType Modifier and Type Field Description protected List<TaskType>
SchedulerInformationType. executingTask
Methods in com.evolveum.midpoint.xml.ns._public.common.common_3 that return types with arguments of type TaskType Modifier and Type Method Description PrismObject<TaskType>
TaskType. asPrismObject()
javax.xml.bind.JAXBElement<TaskType>
ObjectFactory. createTask(TaskType value)
List<TaskType>
SchedulerInformationType. getExecutingTask()
Gets the value of the executingTask property.Methods in com.evolveum.midpoint.xml.ns._public.common.common_3 with parameters of type TaskType Modifier and Type Method Description javax.xml.bind.JAXBElement<TaskType>
ObjectFactory. createTask(TaskType value)
SchedulerInformationType
SchedulerInformationType. executingTask(TaskType value)
-
Uses of TaskType in com.evolveum.midpoint.xml.ns._public.model.model_3
Fields in com.evolveum.midpoint.xml.ns._public.model.model_3 declared as TaskType Modifier and Type Field Description protected TaskType
ImportFromResourceResponseType. task
protected TaskType
NotifyChangeResponseType. task
Methods in com.evolveum.midpoint.xml.ns._public.model.model_3 that return TaskType Modifier and Type Method Description TaskType
ImportFromResourceResponseType. beginTask()
TaskType
NotifyChangeResponseType. beginTask()
TaskType
ImportFromResourceResponseType. getTask()
Gets the value of the task property.TaskType
NotifyChangeResponseType. getTask()
Gets the value of the task property.TaskType
ModelPortImpl. importFromResource(String resourceOid, QName objectClass)
TaskType
ModelPortType. importFromResource(String resourceOid, QName objectClass)
Faults (TODO): any SystemFaultType ObjectNotFoundFaultType: specified Resource definition does not existTaskType
ModelPortImpl. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription)
TaskType
ModelPortType. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription)
Methods in com.evolveum.midpoint.xml.ns._public.model.model_3 with parameters of type TaskType Modifier and Type Method Description void
ImportFromResourceResponseType. setTask(TaskType value)
Sets the value of the task property.void
NotifyChangeResponseType. setTask(TaskType value)
Sets the value of the task property.ImportFromResourceResponseType
ImportFromResourceResponseType. task(TaskType value)
NotifyChangeResponseType
NotifyChangeResponseType. task(TaskType value)
-