Enum Class MatcherType

java.lang.Object
java.lang.Enum<MatcherType>
io.fluentlenium.core.filter.matcher.MatcherType
All Implemented Interfaces:
Serializable, Comparable<MatcherType>, Constable

public enum MatcherType extends Enum<MatcherType>
Matcher types actually actually supported by the framework.
  • Enum Constant Details

    • CONTAINS

      public static final MatcherType CONTAINS
      Contains.
    • STARTS_WITH

      public static final MatcherType STARTS_WITH
      Starts with.
    • ENDS_WITH

      public static final MatcherType ENDS_WITH
      Ends with.
    • CONTAINS_WORD

      public static final MatcherType CONTAINS_WORD
      Contains word.
    • EQUALS

      public static final MatcherType EQUALS
      Equal.
    • NOT_CONTAINS

      public static final MatcherType NOT_CONTAINS
      Not contains.
    • NOT_STARTS_WITH

      public static final MatcherType NOT_STARTS_WITH
      Not starts with.
    • NOT_ENDS_WITH

      public static final MatcherType NOT_ENDS_WITH
      Not ends with.
  • Method Details

    • values

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

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

      public String getLabel()
      Get the label of this matcher type
      Returns:
      label
    • getCssRepresentation

      public String getCssRepresentation()
      Return the css representation of the matcher
      Returns:
      CSS representation