com.evolveum.midpoint.xml.ns._public.common.common_2a
Class TaskType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.TaskType
All Implemented Interfaces:
Containerable, Objectable, Serializable, Cloneable

public class TaskType
extends ObjectType
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 http://wiki.evolveum.com/display/midPoint/Task+Manager.

Java class for TaskType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TaskType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectType">
       <sequence>
         <element name="taskIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ownerRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType"/>
         <element name="channel" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="parent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="executionStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}TaskExecutionStatusType"/>
         <element name="node" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="category" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="handlerUri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="otherHandlersUriStack" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}UriStack" minOccurs="0"/>
         <element name="result" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OperationResultType" minOccurs="0"/>
         <element name="resultStatus" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}OperationResultStatusType" minOccurs="0"/>
         <element name="objectRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType" minOccurs="0"/>
         <element name="lastRunStartTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="lastRunFinishTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="progress" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="recurrence" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}TaskRecurrenceType"/>
         <element name="binding" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}TaskBindingType" minOccurs="0"/>
         <element name="canRunOnNode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="schedule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ScheduleType" minOccurs="0"/>
         <element name="threadStopAction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ThreadStopActionType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static QName COMPLEX_TYPE
           
static QName F_BINDING
           
static QName F_CAN_RUN_ON_NODE
           
static QName F_CATEGORY
           
static QName F_CHANNEL
           
static QName F_EXECUTION_STATUS
           
static QName F_HANDLER_URI
           
static QName F_LAST_RUN_FINISH_TIMESTAMP
           
static QName F_LAST_RUN_START_TIMESTAMP
           
static QName F_NODE
           
static QName F_OBJECT_REF
           
static QName F_OTHER_HANDLERS_URI_STACK
           
static QName F_OWNER_REF
           
static QName F_PARENT
           
static QName F_PROGRESS
           
static QName F_RECURRENCE
           
static QName F_RESULT
           
static QName F_RESULT_STATUS
           
static QName F_SCHEDULE
           
static QName F_TASK_IDENTIFIER
           
static QName F_THREAD_STOP_ACTION
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
F_DESCRIPTION, F_EXTENSION, F_FETCH_RESULT, F_NAME, F_PARENT_ORG, F_PARENT_ORG_REF, parentOrgRef
 
Constructor Summary
TaskType()
           
 
Method Summary
 TaskType clone()
           
 TaskBindingType getBinding()
           
 String getCanRunOnNode()
           
 String getCategory()
           
 String getChannel()
           
 TaskExecutionStatusType getExecutionStatus()
           
 String getHandlerUri()
           
 XMLGregorianCalendar getLastRunFinishTimestamp()
           
 XMLGregorianCalendar getLastRunStartTimestamp()
           
 String getNode()
           
 ObjectReferenceType getObjectRef()
           
 UriStack getOtherHandlersUriStack()
           
 ObjectReferenceType getOwnerRef()
           
 String getParent()
           
 Long getProgress()
           
 TaskRecurrenceType getRecurrence()
           
 OperationResultType getResult()
           
 OperationResultStatusType getResultStatus()
           
 ScheduleType getSchedule()
           
 String getTaskIdentifier()
           
 ThreadStopActionType getThreadStopAction()
           
 void setBinding(TaskBindingType value)
           
 void setCanRunOnNode(String value)
           
 void setCategory(String value)
           
 void setChannel(String value)
           
 void setExecutionStatus(TaskExecutionStatusType value)
           
 void setHandlerUri(String value)
           
 void setLastRunFinishTimestamp(XMLGregorianCalendar value)
           
 void setLastRunStartTimestamp(XMLGregorianCalendar value)
           
 void setNode(String value)
           
 void setObjectRef(ObjectReferenceType value)
           
 void setOtherHandlersUriStack(UriStack value)
           
 void setOwnerRef(ObjectReferenceType value)
           
 void setParent(String value)
           
 void setProgress(Long value)
           
 void setRecurrence(TaskRecurrenceType value)
           
 void setResult(OperationResultType value)
           
 void setResultStatus(OperationResultStatusType value)
           
 void setSchedule(ScheduleType value)
           
 void setTaskIdentifier(String value)
           
 void setThreadStopAction(ThreadStopActionType value)
           
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
asPrismContainer, asPrismContainerValue, asPrismObject, equals, getDescription, getExtension, getFetchResult, getName, getOid, getParentOrg, getParentOrgRef, getVersion, hashCode, setDescription, setExtension, setFetchResult, setName, setOid, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_TASK_IDENTIFIER

public static final QName F_TASK_IDENTIFIER

F_OWNER_REF

public static final QName F_OWNER_REF

F_CHANNEL

public static final QName F_CHANNEL

F_PARENT

public static final QName F_PARENT

F_EXECUTION_STATUS

public static final QName F_EXECUTION_STATUS

F_NODE

public static final QName F_NODE

F_CATEGORY

public static final QName F_CATEGORY

F_HANDLER_URI

public static final QName F_HANDLER_URI

F_OTHER_HANDLERS_URI_STACK

public static final QName F_OTHER_HANDLERS_URI_STACK

F_RESULT

public static final QName F_RESULT

F_RESULT_STATUS

public static final QName F_RESULT_STATUS

F_OBJECT_REF

public static final QName F_OBJECT_REF

F_LAST_RUN_START_TIMESTAMP

public static final QName F_LAST_RUN_START_TIMESTAMP

F_LAST_RUN_FINISH_TIMESTAMP

public static final QName F_LAST_RUN_FINISH_TIMESTAMP

F_PROGRESS

public static final QName F_PROGRESS

F_RECURRENCE

public static final QName F_RECURRENCE

F_BINDING

public static final QName F_BINDING

F_CAN_RUN_ON_NODE

public static final QName F_CAN_RUN_ON_NODE

F_SCHEDULE

public static final QName F_SCHEDULE

F_THREAD_STOP_ACTION

public static final QName F_THREAD_STOP_ACTION
Constructor Detail

TaskType

public TaskType()
Method Detail

getTaskIdentifier

public String getTaskIdentifier()

setTaskIdentifier

public void setTaskIdentifier(String value)

getOwnerRef

public ObjectReferenceType getOwnerRef()

setOwnerRef

public void setOwnerRef(ObjectReferenceType value)

getChannel

public String getChannel()

setChannel

public void setChannel(String value)

getParent

public String getParent()

setParent

public void setParent(String value)

getExecutionStatus

public TaskExecutionStatusType getExecutionStatus()

setExecutionStatus

public void setExecutionStatus(TaskExecutionStatusType value)

getNode

public String getNode()

setNode

public void setNode(String value)

getCategory

public String getCategory()

setCategory

public void setCategory(String value)

getHandlerUri

public String getHandlerUri()

setHandlerUri

public void setHandlerUri(String value)

getOtherHandlersUriStack

public UriStack getOtherHandlersUriStack()

setOtherHandlersUriStack

public void setOtherHandlersUriStack(UriStack value)

getResult

public OperationResultType getResult()

setResult

public void setResult(OperationResultType value)

getResultStatus

public OperationResultStatusType getResultStatus()

setResultStatus

public void setResultStatus(OperationResultStatusType value)

getObjectRef

public ObjectReferenceType getObjectRef()

setObjectRef

public void setObjectRef(ObjectReferenceType value)

getLastRunStartTimestamp

public XMLGregorianCalendar getLastRunStartTimestamp()

setLastRunStartTimestamp

public void setLastRunStartTimestamp(XMLGregorianCalendar value)

getLastRunFinishTimestamp

public XMLGregorianCalendar getLastRunFinishTimestamp()

setLastRunFinishTimestamp

public void setLastRunFinishTimestamp(XMLGregorianCalendar value)

getProgress

public Long getProgress()

setProgress

public void setProgress(Long value)

getRecurrence

public TaskRecurrenceType getRecurrence()

setRecurrence

public void setRecurrence(TaskRecurrenceType value)

getBinding

public TaskBindingType getBinding()

setBinding

public void setBinding(TaskBindingType value)

getCanRunOnNode

public String getCanRunOnNode()

setCanRunOnNode

public void setCanRunOnNode(String value)

getSchedule

public ScheduleType getSchedule()

setSchedule

public void setSchedule(ScheduleType value)

getThreadStopAction

public ThreadStopActionType getThreadStopAction()

setThreadStopAction

public void setThreadStopAction(ThreadStopActionType value)

clone

public TaskType clone()
Overrides:
clone in class ObjectType


Copyright © 2013 evolveum. All Rights Reserved.