@InterfaceAudience.Public public static enum Watcher.WatcherType extends java.lang.Enum<Watcher.WatcherType>
Modifier and Type | Method and Description |
---|---|
static Watcher.WatcherType |
fromInt(int intValue) |
int |
getIntValue() |
static Watcher.WatcherType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Watcher.WatcherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Watcher.WatcherType Children
public static final Watcher.WatcherType Data
public static final Watcher.WatcherType Any
public static Watcher.WatcherType[] values()
for (Watcher.WatcherType c : Watcher.WatcherType.values()) System.out.println(c);
public static Watcher.WatcherType 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.WatcherType fromInt(int intValue)
Copyright © 2018 The Apache Software Foundation