public class TaskInfo extends DynamicData
Java class for TaskInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TaskInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="task" type="{urn:vim25}ManagedObjectReference"/>
<element name="description" type="{urn:vim25}LocalizableMessage" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="descriptionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
<element name="entityName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="locked" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
<element name="state" type="{urn:vim25}TaskInfoState"/>
<element name="cancelled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="cancelable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="error" type="{urn:vim25}LocalizedMethodFault" minOccurs="0"/>
<element name="result" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
<element name="progress" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="reason" type="{urn:vim25}TaskReason"/>
<element name="queueTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="completeTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="eventChainId" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="changeTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="parentTaskKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="rootTaskKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="activationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
activationId |
protected boolean |
cancelable |
protected boolean |
cancelled |
protected String |
changeTag |
protected XMLGregorianCalendar |
completeTime |
protected LocalizableMessage |
description |
protected String |
descriptionId |
protected ManagedObjectReference |
entity |
protected String |
entityName |
protected LocalizedMethodFault |
error |
protected int |
eventChainId |
protected String |
key |
protected List<ManagedObjectReference> |
locked |
protected String |
name |
protected String |
parentTaskKey |
protected Integer |
progress |
protected XMLGregorianCalendar |
queueTime |
protected TaskReason |
reason |
protected Object |
result |
protected String |
rootTaskKey |
protected XMLGregorianCalendar |
startTime |
protected TaskInfoState |
state |
protected ManagedObjectReference |
task |
| Constructor and Description |
|---|
TaskInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActivationId()
Gets the value of the activationId property.
|
String |
getChangeTag()
Gets the value of the changeTag property.
|
XMLGregorianCalendar |
getCompleteTime()
Gets the value of the completeTime property.
|
LocalizableMessage |
getDescription()
Gets the value of the description property.
|
String |
getDescriptionId()
Gets the value of the descriptionId property.
|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
String |
getEntityName()
Gets the value of the entityName property.
|
LocalizedMethodFault |
getError()
Gets the value of the error property.
|
int |
getEventChainId()
Gets the value of the eventChainId property.
|
String |
getKey()
Gets the value of the key property.
|
List<ManagedObjectReference> |
getLocked()
Gets the value of the locked property.
|
String |
getName()
Gets the value of the name property.
|
String |
getParentTaskKey()
Gets the value of the parentTaskKey property.
|
Integer |
getProgress()
Gets the value of the progress property.
|
XMLGregorianCalendar |
getQueueTime()
Gets the value of the queueTime property.
|
TaskReason |
getReason()
Gets the value of the reason property.
|
Object |
getResult()
Gets the value of the result property.
|
String |
getRootTaskKey()
Gets the value of the rootTaskKey property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
TaskInfoState |
getState()
Gets the value of the state property.
|
ManagedObjectReference |
getTask()
Gets the value of the task property.
|
boolean |
isCancelable()
Gets the value of the cancelable property.
|
boolean |
isCancelled()
Gets the value of the cancelled property.
|
void |
setActivationId(String value)
Sets the value of the activationId property.
|
void |
setCancelable(boolean value)
Sets the value of the cancelable property.
|
void |
setCancelled(boolean value)
Sets the value of the cancelled property.
|
void |
setChangeTag(String value)
Sets the value of the changeTag property.
|
void |
setCompleteTime(XMLGregorianCalendar value)
Sets the value of the completeTime property.
|
void |
setDescription(LocalizableMessage value)
Sets the value of the description property.
|
void |
setDescriptionId(String value)
Sets the value of the descriptionId property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
void |
setEntityName(String value)
Sets the value of the entityName property.
|
void |
setError(LocalizedMethodFault value)
Sets the value of the error property.
|
void |
setEventChainId(int value)
Sets the value of the eventChainId property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setParentTaskKey(String value)
Sets the value of the parentTaskKey property.
|
void |
setProgress(Integer value)
Sets the value of the progress property.
|
void |
setQueueTime(XMLGregorianCalendar value)
Sets the value of the queueTime property.
|
void |
setReason(TaskReason value)
Sets the value of the reason property.
|
void |
setResult(Object value)
Sets the value of the result property.
|
void |
setRootTaskKey(String value)
Sets the value of the rootTaskKey property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
void |
setState(TaskInfoState value)
Sets the value of the state property.
|
void |
setTask(ManagedObjectReference value)
Sets the value of the task property.
|
protected String key
protected ManagedObjectReference task
protected LocalizableMessage description
protected String name
protected String descriptionId
protected ManagedObjectReference entity
protected String entityName
protected List<ManagedObjectReference> locked
protected TaskInfoState state
protected boolean cancelled
protected boolean cancelable
protected LocalizedMethodFault error
protected Object result
protected Integer progress
protected TaskReason reason
protected XMLGregorianCalendar queueTime
protected XMLGregorianCalendar startTime
protected XMLGregorianCalendar completeTime
protected int eventChainId
protected String changeTag
protected String parentTaskKey
protected String rootTaskKey
protected String activationId
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic ManagedObjectReference getTask()
ManagedObjectReferencepublic void setTask(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic LocalizableMessage getDescription()
LocalizableMessagepublic void setDescription(LocalizableMessage value)
value - allowed object is
LocalizableMessagepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescriptionId()
Stringpublic void setDescriptionId(String value)
value - allowed object is
Stringpublic ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getEntityName()
Stringpublic void setEntityName(String value)
value - allowed object is
Stringpublic List<ManagedObjectReference> getLocked()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the locked property.
For example, to add a new item, do as follows:
getLocked().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
public TaskInfoState getState()
TaskInfoStatepublic void setState(TaskInfoState value)
value - allowed object is
TaskInfoStatepublic boolean isCancelled()
public void setCancelled(boolean value)
public boolean isCancelable()
public void setCancelable(boolean value)
public LocalizedMethodFault getError()
LocalizedMethodFaultpublic void setError(LocalizedMethodFault value)
value - allowed object is
LocalizedMethodFaultpublic Object getResult()
Objectpublic void setResult(Object value)
value - allowed object is
Objectpublic Integer getProgress()
Integerpublic void setProgress(Integer value)
value - allowed object is
Integerpublic TaskReason getReason()
TaskReasonpublic void setReason(TaskReason value)
value - allowed object is
TaskReasonpublic XMLGregorianCalendar getQueueTime()
XMLGregorianCalendarpublic void setQueueTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getCompleteTime()
XMLGregorianCalendarpublic void setCompleteTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic int getEventChainId()
public void setEventChainId(int value)
public String getChangeTag()
Stringpublic void setChangeTag(String value)
value - allowed object is
Stringpublic String getParentTaskKey()
Stringpublic void setParentTaskKey(String value)
value - allowed object is
Stringpublic String getRootTaskKey()
Stringpublic void setRootTaskKey(String value)
value - allowed object is
Stringpublic String getActivationId()
StringCopyright © 2018. All rights reserved.