public static enum WatchmanEvent.Kind extends Enum<WatchmanEvent.Kind>
Enum Constant and Description |
---|
CREATE
A new entity, like file or directory, was created
|
DELETE
An entity, like file or directory, was deleted
|
MODIFY
An existing entity, like file or directory, was modified
|
Modifier and Type | Method and Description |
---|---|
static WatchmanEvent.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchmanEvent.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchmanEvent.Kind CREATE
public static final WatchmanEvent.Kind MODIFY
public static final WatchmanEvent.Kind DELETE
public static WatchmanEvent.Kind[] values()
for (WatchmanEvent.Kind c : WatchmanEvent.Kind.values()) System.out.println(c);
public static WatchmanEvent.Kind 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 null