Package com.xensource.xenapi
Class Task.Record
java.lang.Object
com.xensource.xenapi.Task.Record
- All Implemented Interfaces:
Types.Record
- Enclosing class:
- Task
Represents all the fields in a Task
-
Field Summary
FieldsModifier and TypeFieldDescriptionlist of the operations allowed in this state.Function call trace for debugging.Time task was createdlinks each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.if the task has failed, this field contains the set of associated error strings.Time task finished (i.e.a notes field containing human-readable descriptiona human-readable nameadditional configuration First published in XenServer 4.1.This field contains the estimated fraction of the task which is complete.the host on which the task is runningif the task has completed successfully, this field contains the result value (either Void or an object reference).current status of the taskRef pointing to the task this is a substask of.List pointing to all the substasks.if the task has completed successfully, this field contains the type of the encoded result (i.e.Unique identifier/object reference -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uuid
Unique identifier/object reference -
nameLabel
a human-readable name -
nameDescription
a notes field containing human-readable description -
allowedOperations
list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client. -
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task. -
created
Time task was created -
finished
Time task finished (i.e. succeeded or failed). If task-status is pending, then the value of this field has no meaning -
status
current status of the task -
residentOn
the host on which the task is running -
progress
This field contains the estimated fraction of the task which is complete. This field should not be used to determine whether the task is complete - for this the status field of the task should be used. -
type
if the task has completed successfully, this field contains the type of the encoded result (i.e. name of the class whose reference is in the result field). Undefined otherwise. -
result
if the task has completed successfully, this field contains the result value (either Void or an object reference). Undefined otherwise. -
errorInfo
if the task has failed, this field contains the set of associated error strings. Undefined otherwise. -
otherConfig
additional configuration First published in XenServer 4.1. -
subtaskOf
Ref pointing to the task this is a substask of. First published in XenServer 5.0. -
subtasks
List pointing to all the substasks. First published in XenServer 5.0. -
backtrace
Function call trace for debugging. First published in XenServer 7.0.
-
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
toString
-
toMap
Convert a task.Record to a Map- Specified by:
toMap
in interfaceTypes.Record
-