public enum EnvironmentStatus extends java.lang.Enum<EnvironmentStatus>
Enum Constant and Description |
---|
ATTACHED
Currently attached to an environment.
|
ATTACHING
Currently being attached to an environment.
|
DETACHED
Currently not attached to an environment.
|
DETACHING
In the process of detaching from an environment.
|
RESTARTING
Currently being restarting the previously attached environment.
|
Modifier and Type | Method and Description |
---|---|
static EnvironmentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final EnvironmentStatus ATTACHED
public static final EnvironmentStatus ATTACHING
public static final EnvironmentStatus DETACHED
public static final EnvironmentStatus DETACHING
public static final EnvironmentStatus RESTARTING
public static EnvironmentStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EnvironmentStatus[] values()
for (EnvironmentStatus c : EnvironmentStatus.values()) System.out.println(c);