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