Enum MatcherType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static MatcherType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MatcherType c : MatcherType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MatcherType 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
      • 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