Enum ComponentType

java.lang.Object
java.lang.Enum<ComponentType>
org.apache.rat.config.parameters.ComponentType
All Implemented Interfaces:
Serializable, Comparable<ComponentType>

public enum ComponentType extends Enum<ComponentType>
Types of components
  • Enum Constant Details

    • LICENSE

      public static final ComponentType LICENSE
      A License, the top level component. May not be used as a child of any component type.
    • MATCHER

      public static final ComponentType MATCHER
      A Matcher
    • PARAMETER

      public static final ComponentType PARAMETER
      A Parameter for example the "id" parameter found in every component
    • BUILD_PARAMETER

      public static final ComponentType 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

      public static ComponentType[] 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

      public static ComponentType valueOf(String name)
      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 name
      NullPointerException - if the argument is null