Class TaskType

  • All Implemented Interfaces:
    Containerable, JaxbVisitable, Objectable, DebugDumpable, Serializable, Cloneable

    public class TaskType
    extends AssignmentHolderType
    implements Serializable, Cloneable
    TaskType contains information about a task (either transient or persistent). For background information and clarification of various terms used here, please see <pre> &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;a xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" href="http://wiki.evolveum.com/display/midPoint/Task+Manager"&gt;wiki:Task Manager&lt;/a&gt; </pre> and <pre> &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;a xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" href="https://wiki.evolveum.com/display/midPoint/Task"&gt;wiki:Task&lt;/a&gt; </pre> . <p>Java class for TaskType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="TaskType"&gt; &lt;complexContent&gt; &lt;extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentHolderType"&gt; &lt;sequence&gt; &lt;element name="taskIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="ownerRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/&gt; &lt;element name="channel" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/&gt; &lt;element name="parent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="subtaskRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="dependent" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="dependentTaskRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="executionStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionStateType" minOccurs="0"/&gt; &lt;element name="schedulingState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskSchedulingStateType" minOccurs="0"/&gt; &lt;element name="waitingReason" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskWaitingReasonType" minOccurs="0"/&gt; &lt;element name="unpauseAction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskUnpauseActionType" minOccurs="0"/&gt; &lt;element name="stateBeforeSuspend" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionStateType" minOccurs="0"/&gt; &lt;element name="schedulingStateBeforeSuspend" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskSchedulingStateType" minOccurs="0"/&gt; &lt;element name="node" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="nodeAsObserved" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="handlerUri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/&gt; &lt;element name="otherHandlersUriStack" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}UriStack" minOccurs="0"/&gt; &lt;element name="result" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultType" minOccurs="0"/&gt; &lt;element name="resultStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultStatusType" minOccurs="0"/&gt; &lt;element name="objectRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/&gt; &lt;element name="lastRunStartTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="lastRunFinishTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="completionTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="cleanupAfterCompletion" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/&gt; &lt;element name="nextRunStartTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="nextRetryTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="progress" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/&gt; &lt;element name="structuredProgress" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}StructuredTaskProgressType" minOccurs="0"/&gt; &lt;element name="operationStats" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationStatsType" minOccurs="0"/&gt; &lt;element name="workState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskWorkStateType" minOccurs="0"/&gt; &lt;element name="workManagement" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskWorkManagementType" minOccurs="0"/&gt; &lt;element name="stalledSince" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt; &lt;element name="expectedTotal" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/&gt; &lt;element name="recurrence" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskRecurrenceType" minOccurs="0"/&gt; &lt;element name="binding" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskBindingType" minOccurs="0"/&gt; &lt;element name="executionConstraints" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionConstraintsType" minOccurs="0"/&gt; &lt;element name="executionEnvironment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskExecutionEnvironmentType" minOccurs="0"/&gt; &lt;element name="schedule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ScheduleType" minOccurs="0"/&gt; &lt;element name="threadStopAction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ThreadStopActionType" minOccurs="0"/&gt; &lt;element name="modelOperationContext" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LensContextType" minOccurs="0"/&gt; &lt;element name="policyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyRuleType" minOccurs="0"/&gt; &lt;element name="errorHandlingStrategy" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskErrorHandlingStrategyType" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form