Package org.apache.rat.config
Enum AddLicenseHeaders
- java.lang.Object
-
- java.lang.Enum<AddLicenseHeaders>
-
- org.apache.rat.config.AddLicenseHeaders
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AddLicenseHeaders>
public enum AddLicenseHeaders extends java.lang.Enum<AddLicenseHeaders>
Value of addLicenseHeaders configuration option.
-
-
Field Summary
Fields Modifier and Type Field Description private static char
SEPARATOR
-
Constructor Summary
Constructors Modifier Constructor Description private
AddLicenseHeaders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getValuesForHelp()
static AddLicenseHeaders
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AddLicenseHeaders[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final AddLicenseHeaders TRUE
-
FALSE
public static final AddLicenseHeaders FALSE
-
FORCED
public static final AddLicenseHeaders FORCED
-
-
Field Detail
-
SEPARATOR
private static final char SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AddLicenseHeaders[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AddLicenseHeaders c : AddLicenseHeaders.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddLicenseHeaders valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValuesForHelp
public static java.lang.String getValuesForHelp()
- Returns:
- pretty-printed list of all available options.
-
-