Package com.morpheusdata.model
Enum Container.Status
- java.lang.Object
-
- java.lang.Enum<Container.Status>
-
- com.morpheusdata.model.Container.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Container.Status>
- Enclosing class:
- Container
public static enum Container.Status extends java.lang.Enum<Container.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Container.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Container.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 Container.Status deploying
-
running
public static final Container.Status running
-
stopped
public static final Container.Status stopped
-
suspended
public static final Container.Status suspended
-
failed
public static final Container.Status failed
-
pending
public static final Container.Status pending
-
expired
public static final Container.Status expired
-
stopping
public static final Container.Status stopping
-
starting
public static final Container.Status starting
-
suspending
public static final Container.Status suspending
-
warning
public static final Container.Status warning
-
unknown
public static final Container.Status unknown
-
-
Method Detail
-
values
public static Container.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 (Container.Status c : Container.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 Container.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
-
-