public static enum NodeWatcher.EventType extends Enum<NodeWatcher.EventType>
Enum Constant and Description |
---|
NODE_JOINED |
NODE_LEFT |
Modifier and Type | Method and Description |
---|---|
static NodeWatcher.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeWatcher.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeWatcher.EventType NODE_JOINED
public static final NodeWatcher.EventType NODE_LEFT
public static NodeWatcher.EventType[] values()
for (NodeWatcher.EventType c : NodeWatcher.EventType.values()) System.out.println(c);
public static NodeWatcher.EventType 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 © 2010–2016 AdroitLogic. All rights reserved.