Package com.morpheusdata.model
Enum Workload.Status
- java.lang.Object
-
- java.lang.Enum<Workload.Status>
-
- com.morpheusdata.model.Workload.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Workload.Status>
- Enclosing class:
- Workload
public static enum Workload.Status extends java.lang.Enum<Workload.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Workload.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Workload.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
deploying
public static final Workload.Status deploying
-
running
public static final Workload.Status running
-
stopped
public static final Workload.Status stopped
-
suspended
public static final Workload.Status suspended
-
failed
public static final Workload.Status failed
-
pending
public static final Workload.Status pending
-
expired
public static final Workload.Status expired
-
stopping
public static final Workload.Status stopping
-
starting
public static final Workload.Status starting
-
suspending
public static final Workload.Status suspending
-
warning
public static final Workload.Status warning
-
unknown
public static final Workload.Status unknown
-
-
Method Detail
-
values
public static Workload.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 (Workload.Status c : Workload.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 Workload.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-