public static enum ControllerNode.State extends java.lang.Enum<ControllerNode.State>
Enum Constant and Description |
---|
ACTIVE
Signifies that the instance is active and operating normally.
|
INACTIVE
Signifies that the instance is inactive, which means either down or
up, but not operational.
|
READY
Signifies that the instance is active and that all components are
operating normally.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isActive()
Indicates whether the state represents node which is active or ready.
|
boolean |
isReady()
Indicates whether the state represents a node which is ready.
|
static ControllerNode.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControllerNode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControllerNode.State READY
public static final ControllerNode.State ACTIVE
public static final ControllerNode.State INACTIVE
public static ControllerNode.State[] values()
for (ControllerNode.State c : ControllerNode.State.values()) System.out.println(c);
public static ControllerNode.State 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 boolean isActive()
public boolean isReady()