public static enum DefaultNodeLifecycleService.Event extends java.lang.Enum<DefaultNodeLifecycleService.Event>
Events that can occur in the node.
Enum Constant and Description |
---|
CONNECTION_DOWN |
RECONNECTED |
START
Sent by the bootstrapper.
|
STOP
Terminates the node.
|
Modifier and Type | Method and Description |
---|---|
static DefaultNodeLifecycleService.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultNodeLifecycleService.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultNodeLifecycleService.Event START
public static final DefaultNodeLifecycleService.Event CONNECTION_DOWN
public static final DefaultNodeLifecycleService.Event RECONNECTED
public static final DefaultNodeLifecycleService.Event STOP
public static DefaultNodeLifecycleService.Event[] values()
for (DefaultNodeLifecycleService.Event c : DefaultNodeLifecycleService.Event.values()) System.out.println(c);
public static DefaultNodeLifecycleService.Event 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