public enum ClusterNodeState extends Enum<ClusterNodeState>
Enum Constant and Description |
---|
ACTIVE |
FAILED |
INACTIVE |
STOPPED |
WAITING |
Modifier and Type | Method and Description |
---|---|
static ClusterNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterNodeState INACTIVE
public static final ClusterNodeState WAITING
public static final ClusterNodeState ACTIVE
public static final ClusterNodeState STOPPED
public static final ClusterNodeState FAILED
public static ClusterNodeState[] values()
for (ClusterNodeState c : ClusterNodeState.values()) System.out.println(c);
public static ClusterNodeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2021 Fiji. All rights reserved.