Package org.apache.rat.api
Enum EnvVar
- All Implemented Interfaces:
Serializable
,Comparable<EnvVar>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefines the user HOME.Log matcher decomposition when used.Sets the log level for the DefaultLog when it is constructed.Ignore Git Global ignore file.Defines the XDG home. -
Method Summary
Modifier and TypeMethodDescriptionGets the documentation for this EnvVar.getValue()
Gets the value for the EnvVar.boolean
isSet()
Determines if this EnvVar is set.static EnvVar
Returns the enum constant of this type with the specified name.static EnvVar[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RAT_NO_GIT_GLOBAL_IGNORE
Ignore Git Global ignore file. -
RAT_DECOMPOSE_MATCHER_ON_USE
Log matcher decomposition when used. -
XDG_CONFIG_HOME
Defines the XDG home. -
HOME
Defines the user HOME. -
RAT_DEFAULT_LOG_LEVEL
Sets the log level for the DefaultLog when it is constructed.
-
-
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
-
documentation
Gets the documentation for this EnvVar.- Returns:
- the documentation for this EnvVar.
-
isSet
public boolean isSet()Determines if this EnvVar is set.- Returns:
true
if the EnvVar is set.
-
getValue
Gets the value for the EnvVar.- Returns:
- the value for this EnvVar or
null
if not set.
-