Enum Job.Status
- java.lang.Object
-
- java.lang.Enum<Job.Status>
-
- org.jclouds.rackspace.clouddns.v1.domain.Job.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Job.Status>
public static enum Job.Status extends Enum<Job.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETED
ERROR
INITIALIZED
INITIALIZED is the status that immediately precedes RUNNING and is the first possible state of a job.RUNNING
UNRECOGNIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Job.Status
fromValue(String status)
static Job.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Job.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZED
public static final Job.Status INITIALIZED
INITIALIZED is the status that immediately precedes RUNNING and is the first possible state of a job. It indicates acceptance of the job.
-
RUNNING
public static final Job.Status RUNNING
-
COMPLETED
public static final Job.Status COMPLETED
-
ERROR
public static final Job.Status ERROR
-
UNRECOGNIZED
public static final Job.Status UNRECOGNIZED
-
-
Method Detail
-
values
public static Job.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 (Job.Status c : Job.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 Job.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 nameNullPointerException
- if the argument is null
-
fromValue
public static Job.Status fromValue(String status)
-
-