Package org.apache.heron.spi.statemgr
Enum WatchCallback.WatchEventType
- java.lang.Object
-
- java.lang.Enum<WatchCallback.WatchEventType>
-
- org.apache.heron.spi.statemgr.WatchCallback.WatchEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<WatchCallback.WatchEventType>
- Enclosing interface:
- WatchCallback
public static enum WatchCallback.WatchEventType extends Enum<WatchCallback.WatchEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NodeChildrenChanged
NodeCreated
NodeDataChanged
NodeDeleted
None
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WatchCallback.WatchEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WatchCallback.WatchEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final WatchCallback.WatchEventType None
-
NodeCreated
public static final WatchCallback.WatchEventType NodeCreated
-
NodeDeleted
public static final WatchCallback.WatchEventType NodeDeleted
-
NodeDataChanged
public static final WatchCallback.WatchEventType NodeDataChanged
-
NodeChildrenChanged
public static final WatchCallback.WatchEventType NodeChildrenChanged
-
-
Method Detail
-
values
public static WatchCallback.WatchEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WatchCallback.WatchEventType c : WatchCallback.WatchEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WatchCallback.WatchEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-