public enum FileState extends Enum<FileState>
| Enum Constant and Description |
|---|
add
something was added on file
|
fail
treatment failed for file
|
ignore
file was ignored
|
remove
something was removed from file
|
update
file was updated
|
uptodate
file was up to date
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(File file,
EnumMap<FileState,Set<File>> results)
Register a file for this state on result dictionary.
|
static FileState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileState update
public static final FileState uptodate
public static final FileState add
public static final FileState remove
public static final FileState ignore
public static final FileState fail
public static FileState[] values()
for (FileState c : FileState.values()) System.out.println(c);
public static FileState 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 © 2010–2019 MojoHaus. All rights reserved.