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