Class DescriptionBuilder

java.lang.Object
org.apache.rat.config.parameters.DescriptionBuilder

public final class DescriptionBuilder extends Object
Builds Description objects for the various component instances.
  • Method Details

    • build

      public static Description build(Object object)
      Create the description for the object. The object must have a ConfigComponent annotation or null will be returned.
      Parameters:
      object - the object to process.
      Returns:
      the Description of the object.
    • getBuiltClass

      public static Class<?> getBuiltClass(Class<? extends IHeaderMatcher.Builder> clazz)
    • buildMap

      public static Description buildMap(Class<?> clazz)
      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.