public static enum SecretWatchEvent.EventType extends java.lang.Enum<SecretWatchEvent.EventType>
Modifier and Type | Method and Description |
---|---|
static SecretWatchEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecretWatchEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecretWatchEvent.EventType ADDED
public static final SecretWatchEvent.EventType MODIFIED
public static final SecretWatchEvent.EventType DELETED
public static final SecretWatchEvent.EventType ERROR
public static SecretWatchEvent.EventType[] values()
for (SecretWatchEvent.EventType c : SecretWatchEvent.EventType.values()) System.out.println(c);
public static SecretWatchEvent.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 null