Package org.apache.rat.config.parameters
Class DescriptionBuilder
java.lang.Object
org.apache.rat.config.parameters.DescriptionBuilder
Builds Description objects for the various component instances.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Description
Create the description for the object.static Description
Create a description for a class.static Class
<?> getBuiltClass
(Class<? extends IHeaderMatcher.Builder> clazz)
-
Method Details
-
build
Create the description for the object. The object must have a ConfigComponent annotation ornull
will be returned.- Parameters:
object
- the object to process.- Returns:
- the Description of the object.
-
getBuiltClass
-
buildMap
Create a description for a class.- Parameters:
clazz
- the class to build the description for.- Returns:
- the Description of the class or null if no ConfigComponent annotation was found on the class.
-