public static enum Watcher.Event.EventType extends Enum<Watcher.Event.EventType>
Enum Constant and Description |
---|
NodeChildrenChanged |
NodeCreated |
NodeDataChanged |
NodeDeleted |
None |
Modifier and Type | Method and Description |
---|---|
static Watcher.Event.EventType |
fromInt(int intValue) |
int |
getIntValue() |
static Watcher.Event.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Watcher.Event.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Watcher.Event.EventType None
public static final Watcher.Event.EventType NodeCreated
public static final Watcher.Event.EventType NodeDeleted
public static final Watcher.Event.EventType NodeDataChanged
public static final Watcher.Event.EventType NodeChildrenChanged
public static Watcher.Event.EventType[] values()
for (Watcher.Event.EventType c : Watcher.Event.EventType.values()) System.out.println(c);
public static Watcher.Event.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 nullpublic int getIntValue()
public static Watcher.Event.EventType fromInt(int intValue)
Copyright © 2014 The Apache Software Foundation