Enum IHeaderMatcher.State

java.lang.Object
java.lang.Enum<IHeaderMatcher.State>
org.apache.rat.analysis.IHeaderMatcher.State
All Implemented Interfaces:
Serializable, Comparable<IHeaderMatcher.State>
Enclosing interface:
IHeaderMatcher

public static enum IHeaderMatcher.State extends Enum<IHeaderMatcher.State>
The state of the matcher.
  • t - The matcher has located a match.
  • f - The matcher has determined that it will not match the document.
  • i - The matcher can not yet determine if a matche is made or not.
  • Enum Constant Details

  • Method Details

    • values

      public static IHeaderMatcher.State[] 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 IHeaderMatcher.State 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
    • asBoolean

      public boolean asBoolean()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<IHeaderMatcher.State>