public static enum DefaultNodeLifecycleService.State extends java.lang.Enum<DefaultNodeLifecycleService.State>
States of this lifecycle manager (in other words - states of the node).
Enum Constant and Description |
---|
DISCONNECTED |
OFFLINE
Initial state of the node.
|
RUNNING
Node has been initialized.
|
TERMINATED
Node has terminated (terminal state).
|
Modifier and Type | Method and Description |
---|---|
static DefaultNodeLifecycleService.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultNodeLifecycleService.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultNodeLifecycleService.State OFFLINE
public static final DefaultNodeLifecycleService.State RUNNING
public static final DefaultNodeLifecycleService.State DISCONNECTED
public static final DefaultNodeLifecycleService.State TERMINATED
public static DefaultNodeLifecycleService.State[] values()
for (DefaultNodeLifecycleService.State c : DefaultNodeLifecycleService.State.values()) System.out.println(c);
public static DefaultNodeLifecycleService.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 null