public static enum Task.Status extends Enum<Task.Status>
Enum Constant and Description |
---|
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 running.
|
SUCCESS
The task completed with a status of success.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static List<Task.Status> |
ALL |
protected static Map<String,Task.Status> |
STATUS_BY_ID |
protected String |
stringValue |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Task.Status QUEUED
public static final Task.Status PRE_RUNNING
public static final Task.Status RUNNING
public static final Task.Status SUCCESS
public static final Task.Status ERROR
public static final Task.Status CANCELED
public static final Task.Status ABORTED
public static final Task.Status UNRECOGNIZED
public static final List<Task.Status> ALL
protected final String stringValue
protected static final Map<String,Task.Status> STATUS_BY_ID
public static Task.Status[] values()
for (Task.Status c : Task.Status.values()) System.out.println(c);
public static Task.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static Task.Status fromValue(String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.