|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xensource.xenapi.Task.Record
public static class Task.Record
Represents all the fields in a Task
Field Summary | |
---|---|
Set<Types.TaskAllowedOperations> |
allowedOperations
list of the operations allowed in this state. |
Date |
created
Time task was created |
Map<String,Types.TaskAllowedOperations> |
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task. |
Set<String> |
errorInfo
if the task has failed, this field contains the set of associated error strings. |
Date |
finished
Time task finished (i.e. |
String |
nameDescription
a notes field containg human-readable description |
String |
nameLabel
a human-readable name |
Map<String,String> |
otherConfig
additional configuration |
Double |
progress
if the task is still pending, this field contains the estimated fraction complete (0.-1.). |
Host |
residentOn
the host on which the task is running |
String |
result
if the task has completed successfully, this field contains the result value (either Void or an object reference). |
Types.TaskStatusType |
status
current status of the task |
Task |
subtaskOf
Ref pointing to the task this is a substask of. |
Set<Task> |
subtasks
List pointing to all the substasks. |
String |
type
if the task has completed successfully, this field contains the type of the encoded result (i.e. |
String |
uuid
Unique identifier/object reference |
Constructor Summary | |
---|---|
Task.Record()
|
Method Summary | |
---|---|
Map<String,Object> |
toMap()
Convert a task.Record to a Map |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String uuid
public String nameLabel
public String nameDescription
public Set<Types.TaskAllowedOperations> allowedOperations
public Map<String,Types.TaskAllowedOperations> currentOperations
public Date created
public Date finished
public Types.TaskStatusType status
public Host residentOn
public Double progress
public String type
public String result
public Set<String> errorInfo
public Map<String,String> otherConfig
public Task subtaskOf
public Set<Task> subtasks
Constructor Detail |
---|
public Task.Record()
Method Detail |
---|
public String toString()
toString
in class Object
public Map<String,Object> toMap()
toMap
in interface Types.Record
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |