Enum Class MatcherType
- All Implemented Interfaces:
Serializable,Comparable<MatcherType>,Constable
Matcher types actually actually supported by the framework.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContains.Contains word.Ends with.Equal.Not contains.Not ends with.Not starts with.Starts with. -
Method Summary
Modifier and TypeMethodDescriptionReturn the css representation of the matchergetLabel()Get the label of this matcher typestatic MatcherTypeReturns the enum constant of this class with the specified name.static MatcherType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTAINS
Contains. -
STARTS_WITH
Starts with. -
ENDS_WITH
Ends with. -
CONTAINS_WORD
Contains word. -
EQUALS
Equal. -
NOT_CONTAINS
Not contains. -
NOT_STARTS_WITH
Not starts with. -
NOT_ENDS_WITH
Not ends with.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getLabel
Get the label of this matcher type- Returns:
- label
-
getCssRepresentation
Return the css representation of the matcher- Returns:
- CSS representation
-