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 TaskTypeModelInteractionService. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, com.evolveum.midpoint.task.api.Task opTask, OperationResult result)@NotNull TaskTypeModelInteractionService. 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 TaskTypeMidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid)TaskTypeMidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, com.evolveum.midpoint.task.api.Task opTask, OperationResult result)TaskTypeMidpointFunctions. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems)TaskTypeMidpointFunctions. 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 ActivityStatisticsTypeActivityStatisticsUtil. 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 StringActivityProgressAndStatisticsPrinter. 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 TaskTypeTaskInformation. taskThe original task.Methods in com.evolveum.midpoint.schema.util.task that return TaskType Modifier and Type Method Description static TaskTypeTaskTreeUtil. findChild(TaskType parent, String childOid)static TaskTypeTaskTreeUtil. findChildIfResolved(TaskType parent, String childOid)@NotNull TaskTypeActivityTreeUtil.ActivityStateInContext. getTask()@NotNull TaskTypeTaskInformation. getTask()@NotNull TaskTypeTaskResolver. 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 voidTaskTreeUtil. addSubtask(TaskType parent, TaskType child, PrismContext prismContext)Adds a subtask to parent children list.static booleanTaskTreeUtil. allSubtasksAreResolved(TaskType parent)static @NotNull TaskInformationTaskInformation. createForTask(@NotNull TaskType task, @Nullable TaskType rootTask)static StringTaskTypeUtil. createScheduledToRunAgain(TaskType task, List<Object> localizationObject)static TaskTypeTaskTreeUtil. findChild(TaskType parent, String childOid)static TaskTypeTaskTreeUtil. findChildIfResolved(TaskType parent, String childOid)static @NotNull TaskInformationLegacyTaskInformation. fromLegacyTaskOrNoTask(@Nullable TaskType task)static @NotNull ActivityProgressInformationActivityProgressInformation. fromRootTask(@NotNull TaskType task, @NotNull ActivityProgressInformationBuilder.InformationSource source)Prepares the information from a root task.static @NotNull ActivityProgressInformationActivityProgressInformation. fromRootTask(@NotNull TaskType task, @NotNull TaskResolver resolver, @NotNull ActivityProgressInformationBuilder.InformationSource source)Prepares the information from a root task.static @NotNull ActivityProgressInformationActivityProgressInformationBuilder. fromTask(@NotNull TaskType task, @NotNull ActivityPath activityPath, @NotNull TaskResolver resolver, @NotNull ActivityProgressInformationBuilder.InformationSource informationSource)static ActivityStateTypeActivityStateUtil. getActivityState(@NotNull TaskType task, @NotNull ItemPath stateItemPath)Finds a state of an activity, given the state item path.static ActivityStateTypeActivityStateUtil. 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 intActivityProgressUtil. getCurrentErrors(TaskType localTask, ActivityPath activityPath)static intActivityProgressUtil. getCurrentProgress(TaskType localTask, ActivityPath activityPath)static @NotNull TaskRecurrenceTypeTaskTypeUtil. 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 StringActivityItemProcessingStatisticsUtil. getLastSuccessObjectName(@NotNull TaskType task)Returns object that was last successfully processed by given physical task.static OperationStatsTypeTaskOperationStatsUtil. getOperationStatsFromTree(TaskType root, PrismContext prismContext)Provides aggregated operation statistics from this task and all its subtasks.static @NotNull ActivityStateOverviewTypeActivityStateOverviewUtil. 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 ObjectActivityStateUtil. getRootSyncTokenRealValue(@NotNull TaskType task)static @NotNull ObjectActivityStateUtil. getRootSyncTokenRealValueRequired(@NotNull TaskType task)static LongTaskTypeUtil. getScheduledToStartAgain(TaskType task)static @Nullable TaskRecurrenceTypeTaskTypeUtil. getSpecifiedRecurrence(@NotNull TaskType task)Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant.static @Nullable ActivityStateOverviewTypeActivityStateOverviewUtil. getStateOverview(@NotNull TaskType task)static @NotNull List<TaskType>ActivityTreeUtil. getSubtasksForPath(TaskType task, ActivityPath activityPath, TaskResolver taskResolver)static @Nullable ObjectActivityStateUtil. getSyncTokenRealValue(@NotNull TaskType task, @NotNull ActivityPath path)static booleanActivityStateUtil. hasDelegatedActivity(@NotNull TaskType task)Is there any local activity that is delegated?static booleanActivityStateUtil. hasLocalDistributedActivity(@NotNull TaskType task)Is there any distributed activity in this task (locally)?static booleanTaskTypeUtil. isAutoScalingDisabled(TaskType task)static booleanActivityStateUtil. 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 booleanActivityStateUtil. isProgressAvailableLocally(@NotNull TaskType task)static booleanTaskTypeUtil. isTaskRecurring(@NotNull TaskType task)voidActivityTreeUtil.ActivityStateProcessor. process(@NotNull ActivityPath path, @Nullable ActivityStateType state, @Nullable List<ActivityStateType> workerStates, @NotNull TaskType task)Called when relevant state is found.static voidActivityTreeUtil. 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 voidActivityTreeUtil. 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 aTreeNodeofActivityTreeUtil.ActivityStateInLocalContextobjects 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 aTreeNodeofActivityTreeUtil.ActivityStateInContextobjects.XActivityTreeUtil.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 TaskTypeLegacyWorkDefinitionSource. getTaskBean()Methods in com.evolveum.midpoint.schema.util.task.work with parameters of type TaskType Modifier and Type Method Description static @NotNull WorkDefinitionSourceLegacyWorkDefinitionSource. create(@NotNull TaskType taskBean)static @Nullable ResourceObjectSetTypeResourceObjectSetUtil. fromTask(TaskType task)static ObjectSetBasedWorkDefinitionTypeObjectSetUtil. getObjectSetDefinitionFromTask(TaskType task) -
Uses of TaskType in com.evolveum.midpoint.schema.validator.processor
Method parameters in com.evolveum.midpoint.schema.validator.processor with type arguments of type TaskType Modifier and Type Method Description booleanActivityTracingProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanBoundaryProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanExpectedTotalProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanLiveSyncErrorHandlingProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanModelOperationContextProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanRecurrenceProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanReportOutputOidProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanTaskCategoryProcessor. process(PrismObject<TaskType> object, ItemPath path)booleanTaskPolicyProcessor. process(PrismObject<TaskType> object, ItemPath path)StringActivityTracingProcessor. upgradeDescription(PrismObject<TaskType> object, ItemPath path)StringExpectedTotalProcessor. upgradeDescription(PrismObject<TaskType> object, ItemPath path)StringTaskPolicyProcessor. upgradeDescription(PrismObject<TaskType> object, ItemPath path) -
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. executingTaskMethods 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)SchedulerInformationTypeSchedulerInformationType. 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 TaskTypeImportFromResourceResponseType. taskprotected TaskTypeNotifyChangeResponseType. taskMethods in com.evolveum.midpoint.xml.ns._public.model.model_3 that return TaskType Modifier and Type Method Description TaskTypeImportFromResourceResponseType. beginTask()TaskTypeNotifyChangeResponseType. beginTask()TaskTypeImportFromResourceResponseType. getTask()Gets the value of the task property.TaskTypeNotifyChangeResponseType. getTask()Gets the value of the task property.TaskTypeModelPortImpl. importFromResource(String resourceOid, QName objectClass)TaskTypeModelPortType. importFromResource(String resourceOid, QName objectClass)Faults (TODO): any SystemFaultType ObjectNotFoundFaultType: specified Resource definition does not existTaskTypeModelPortImpl. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription)TaskTypeModelPortType. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription)Methods in com.evolveum.midpoint.xml.ns._public.model.model_3 with parameters of type TaskType Modifier and Type Method Description voidImportFromResourceResponseType. setTask(TaskType value)Sets the value of the task property.voidNotifyChangeResponseType. setTask(TaskType value)Sets the value of the task property.ImportFromResourceResponseTypeImportFromResourceResponseType. task(TaskType value)NotifyChangeResponseTypeNotifyChangeResponseType. task(TaskType value)
-