public static enum FileChange.Status extends Enum<FileChange.Status> implements StringEnum
Enum Constant and Description |
---|
ADDED
File was added.
|
MODIFIED
File's content was modified.
|
REMOVED
File was removed.
|
RENAMED
File was renamed.
|
Modifier and Type | Method and Description |
---|---|
static FileChange.Status |
forValue(String name)
Get file change status corresponding to the given status string.
|
String |
identifier()
The string that this enum value represents.
|
static FileChange.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChange.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChange.Status ADDED
public static final FileChange.Status MODIFIED
public static final FileChange.Status REMOVED
public static final FileChange.Status RENAMED
public static FileChange.Status[] values()
for (FileChange.Status c : FileChange.Status.values()) System.out.println(c);
public static FileChange.Status 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 nullpublic String identifier()
StringEnum
identifier
in interface StringEnum
public static FileChange.Status forValue(String name)
name
- Status stringCopyright © 2012–2018 jcabi.com. All rights reserved.