public static enum FileChangeEvent.Type extends Enum<FileChangeEvent.Type>
Enum Constant and Description |
---|
ADDED
A file was added in a directory.
|
MODIFIED
A file was modified in a directory.
|
REMOVED
A file was removed from a directory.
|
Modifier and Type | Method and Description |
---|---|
static FileChangeEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChangeEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChangeEvent.Type ADDED
public static final FileChangeEvent.Type REMOVED
public static final FileChangeEvent.Type MODIFIED
public static FileChangeEvent.Type[] values()
for (FileChangeEvent.Type c : FileChangeEvent.Type.values()) System.out.println(c);
public static FileChangeEvent.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 nullCopyright © 2019 JBoss by Red Hat. All rights reserved.