org.jclouds.vcloud.director.v1_5.domain
Enum Task.Status

java.lang.Object
  extended by java.lang.Enum<Task.Status>
      extended by org.jclouds.vcloud.director.v1_5.domain.Task.Status
All Implemented Interfaces:
Serializable, Comparable<Task.Status>
Enclosing class:
Task

public static enum Task.Status
extends Enum<Task.Status>


Enum Constant Summary
ABORTED
          The task was aborted by an administrative action.
CANCELED
          The task was canceled by the owner or an administrator.
ERROR
          The task encountered an error while running.
PRE_RUNNING
          The task is awaiting preprocessing or, if it is a blocking task, administrative action.
QUEUED
          The task has been queued for execution.
RUNNING
          The task is runnning.
SUCCESS
          The task completed with a status of success.
UNRECOGNIZED
           
 
Field Summary
static List<Task.Status> ALL
           
protected static Map<String,Task.Status> STATUS_BY_ID
           
protected  String stringValue
           
 
Method Summary
static Task.Status fromValue(String value)
           
 String value()
           
static Task.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Task.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEUED

public static final Task.Status QUEUED
The task has been queued for execution.


PRE_RUNNING

public static final Task.Status PRE_RUNNING
The task is awaiting preprocessing or, if it is a blocking task, administrative action.


RUNNING

public static final Task.Status RUNNING
The task is runnning.


SUCCESS

public static final Task.Status SUCCESS
The task completed with a status of success.


ERROR

public static final Task.Status ERROR
The task encountered an error while running.


CANCELED

public static final Task.Status CANCELED
The task was canceled by the owner or an administrator.


ABORTED

public static final Task.Status ABORTED
The task was aborted by an administrative action.


UNRECOGNIZED

public static final Task.Status UNRECOGNIZED
Field Detail

ALL

public static final List<Task.Status> ALL

stringValue

protected final String stringValue

STATUS_BY_ID

protected static final Map<String,Task.Status> STATUS_BY_ID
Method Detail

values

public static Task.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Task.Status c : Task.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Task.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static Task.Status fromValue(String value)


Copyright © 2009-2012 jclouds. All Rights Reserved.