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 DescriptionCreate the description for the object.static DescriptionCreate 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 ornullwill 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.
-