public static class Task.Record extends java.lang.Object implements Types.Record
Modifier and Type | Field and Description |
---|---|
java.util.Set<Types.TaskAllowedOperations> |
allowedOperations
list of the operations allowed in this state.
|
java.util.Date |
created
Time task was created
|
java.util.Map<java.lang.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.
|
java.util.Set<java.lang.String> |
errorInfo
if the task has failed, this field contains the set of associated error strings.
|
java.util.Date |
finished
Time task finished (i.e.
|
java.lang.String |
nameDescription
a notes field containg human-readable description
|
java.lang.String |
nameLabel
a human-readable name
|
java.util.Map<java.lang.String,java.lang.String> |
otherConfig
additional configuration
|
java.lang.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
|
java.lang.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.
|
java.util.Set<Task> |
subtasks
List pointing to all the substasks.
|
java.lang.String |
type
if the task has completed successfully, this field contains the type of the encoded result (i.e.
|
java.lang.String |
uuid
Unique identifier/object reference
|
Constructor and Description |
---|
Task.Record() |
public java.lang.String uuid
public java.lang.String nameLabel
public java.lang.String nameDescription
public java.util.Set<Types.TaskAllowedOperations> allowedOperations
public java.util.Map<java.lang.String,Types.TaskAllowedOperations> currentOperations
public java.util.Date created
public java.util.Date finished
public Types.TaskStatusType status
public Host residentOn
public java.lang.Double progress
public java.lang.String type
public java.lang.String result
public java.util.Set<java.lang.String> errorInfo
public java.util.Map<java.lang.String,java.lang.String> otherConfig
public Task subtaskOf
public java.util.Set<Task> subtasks
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
toMap
in interface Types.Record