Package org.apache.rat.analysis
Enum IHeaderMatcher.State
- All Implemented Interfaces:
Serializable
,Comparable<IHeaderMatcher.State>
- Enclosing interface:
- IHeaderMatcher
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
toString()
static IHeaderMatcher.State
Returns the enum constant of this type with the specified name.static IHeaderMatcher.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
t
-
f
-
i
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
asBoolean
public boolean asBoolean() -
toString
- Overrides:
toString
in classEnum<IHeaderMatcher.State>
-