Class Task.Record

java.lang.Object
com.xensource.xenapi.Task.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Task

public static class Task.Record extends Object implements Types.Record
Represents all the fields in a Task
  • Field Details

    • uuid

      public String uuid
      Unique identifier/object reference
    • nameLabel

      public String nameLabel
      a human-readable name
    • nameDescription

      public String nameDescription
      a notes field containing human-readable description
    • allowedOperations

      public Set<Types.TaskAllowedOperations> 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

      public 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.
    • created

      public Date created
      Time task was created
    • finished

      public Date finished
      Time task finished (i.e. succeeded or failed). If task-status is pending, then the value of this field has no meaning
    • status

      public Types.TaskStatusType status
      current status of the task
    • residentOn

      public Host residentOn
      the host on which the task is running
    • progress

      public Double 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

      public String 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

      public String result
      if the task has completed successfully, this field contains the result value (either Void or an object reference). Undefined otherwise.
    • errorInfo

      public Set<String> errorInfo
      if the task has failed, this field contains the set of associated error strings. Undefined otherwise.
    • otherConfig

      public Map<String,String> otherConfig
      additional configuration First published in XenServer 4.1.
    • subtaskOf

      public Task subtaskOf
      Ref pointing to the task this is a substask of. First published in XenServer 5.0.
    • subtasks

      public Set<Task> subtasks
      List pointing to all the substasks. First published in XenServer 5.0.
    • backtrace

      public String backtrace
      Function call trace for debugging. First published in XenServer 7.0.
  • Constructor Details

    • Record

      public Record()
  • Method Details