Package org.apache.rat.config.parameters
Enum ComponentType
- All Implemented Interfaces:
Serializable,Comparable<ComponentType>
Types of components
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA parameter that is supplied by the environment.A License, the top level component.A MatcherA Parameter for example the "id" parameter found in every component -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentTypeReturns the enum constant of this type with the specified name.static ComponentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LICENSE
A License, the top level component. May not be used as a child of any component type. -
MATCHER
A Matcher -
PARAMETER
A Parameter for example the "id" parameter found in every component -
BUILD_PARAMETER
A parameter that is supplied by the environment. Currently systems using builders have to handle setting this. For example the list of matchers for the "MatcherRefBuilder"
-
-
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
-