|
||||||||
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<String> |
errorInfo
if the task has failed, this field contains the set of associated error strings. |
String |
nameDescription
a notes field containg human-readable description |
String |
nameLabel
a human-readable name |
Double |
progress
if the task is still pending, this field contains the estimated percentage 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). |
Session |
session
the session that created the task |
com.xensource.xenapi.Types.TaskStatusType |
status
current status of the task |
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 com.xensource.xenapi.Types.TaskStatusType status
public Session session
public Host residentOn
public Double progress
public String type
public String result
public Set<String> errorInfo
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 |