Package org.codehaus.mojo.license
Enum FileState
- All Implemented Interfaces:
Serializable
,Comparable<FileState>
Defines state of a file after process.
- Since:
- 1.0
- Author:
- tchemit dev@tchemit.fr
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
update
file was updated -
uptodate
file was up to date -
add
something was added on file -
remove
something was removed from file -
ignore
file was ignored -
fail
treatment failed for file
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
addFile
Register a file for this state on result dictionary.- Parameters:
file
- file to addresults
- dictionary to update
-