public static enum ClusterInfo.ClusterState extends java.lang.Enum<ClusterInfo.ClusterState>
Enum Constant and Description |
---|
DEGRADED |
INITIALIZING |
POWERINGOFF |
STABLE |
SYNCING |
UNKNOWN |
UPDATING |
UPGRADING |
UPGRADING_CONVERT_DB |
UPGRADING_FAILED |
UPGRADING_PREP_DB |
Modifier and Type | Method and Description |
---|---|
static ClusterInfo.ClusterState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterInfo.ClusterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterInfo.ClusterState UNKNOWN
public static final ClusterInfo.ClusterState STABLE
public static final ClusterInfo.ClusterState SYNCING
public static final ClusterInfo.ClusterState UPGRADING
public static final ClusterInfo.ClusterState UPGRADING_PREP_DB
public static final ClusterInfo.ClusterState UPGRADING_CONVERT_DB
public static final ClusterInfo.ClusterState UPGRADING_FAILED
public static final ClusterInfo.ClusterState DEGRADED
public static final ClusterInfo.ClusterState UPDATING
public static final ClusterInfo.ClusterState POWERINGOFF
public static final ClusterInfo.ClusterState INITIALIZING
public static ClusterInfo.ClusterState[] values()
for (ClusterInfo.ClusterState c : ClusterInfo.ClusterState.values()) System.out.println(c);
public static ClusterInfo.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