public enum ClusterState extends java.lang.Enum<ClusterState>
Enum Constant and Description |
---|
ALLOCATING
State where cluster is allocating and configuring itself.
|
DESTROYED
State for cluster when it has been destroyed and no further
state changes are allowed except transition to final state.
|
DESTROYING
State when cluster is entering into a mode to be destroyed.
|
FINAL
Final state for cluster.
|
INITIAL
Initial state when cluster has been created.
|
RUNNING
State where cluster is ready to go allocation mode or to be
stopped or destroyed.
|
STOPPED
State where cluster is stopped.
|
STOPPING
State where cluster has been requested to be stopped.
|
Modifier and Type | Method and Description |
---|---|
static ClusterState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterState INITIAL
public static final ClusterState RUNNING
public static final ClusterState ALLOCATING
public static final ClusterState STOPPING
public static final ClusterState STOPPED
public static final ClusterState DESTROYING
public static final ClusterState DESTROYED
public static final ClusterState FINAL
public static ClusterState[] values()
for (ClusterState c : ClusterState.values()) System.out.println(c);
public static ClusterState 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 null