public enum ClusterStatus extends java.lang.Enum<ClusterStatus>
Enum Constant and Description |
---|
OUT_OF_SERVICE
Cluster may be running, but not accepting job submissions.
|
TERMINATED
Cluster is no-longer running, and is terminated.
|
UP
Cluster is UP, and accepting jobs.
|
Modifier and Type | Method and Description |
---|---|
static ClusterStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterStatus UP
public static final ClusterStatus OUT_OF_SERVICE
public static final ClusterStatus TERMINATED
public static ClusterStatus[] values()
for (ClusterStatus c : ClusterStatus.values()) System.out.println(c);
public static ClusterStatus 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