@InterfaceAudience.Public public static enum Watcher.WatcherType extends Enum<Watcher.WatcherType>
Modifier and Type | Method and Description |
---|---|
static Watcher.WatcherType |
fromInt(int intValue) |
int |
getIntValue() |
static Watcher.WatcherType |
valueOf(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(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.WatcherType fromInt(int intValue)
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.