@InterfaceAudience.Public public static enum Watcher.Event.EventType extends java.lang.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(java.lang.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(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 int getIntValue()
public static Watcher.Event.EventType fromInt(int intValue)
Copyright © 2018 The Apache Software Foundation