public static enum WatchmanEvent.Type extends Enum<WatchmanEvent.Type>
Enum Constant and Description |
---|
DIRECTORY
Directory (folder that contains other files)
|
FILE
Regular file
|
SYMLINK
Symbolic link to another file
|
Modifier and Type | Method and Description |
---|---|
static WatchmanEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchmanEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchmanEvent.Type FILE
public static final WatchmanEvent.Type DIRECTORY
public static final WatchmanEvent.Type SYMLINK
public static WatchmanEvent.Type[] values()
for (WatchmanEvent.Type c : WatchmanEvent.Type.values()) System.out.println(c);
public static WatchmanEvent.Type 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