Enum Matcher.MatcherType

    • Enum Constant Detail

      • EQUALITY

        public static final Matcher.MatcherType EQUALITY
        The matcher type for equality filters.
      • APPROXIMATE

        public static final Matcher.MatcherType APPROXIMATE
        The matcher type for approximate filters.
      • GREATER_OR_EQUAL

        public static final Matcher.MatcherType GREATER_OR_EQUAL
        The matcher type for greater or equal filters.
      • LESS_OR_EQUAL

        public static final Matcher.MatcherType LESS_OR_EQUAL
        The matcher type for less or equal filters.
      • PRESENT

        public static final Matcher.MatcherType PRESENT
        The matcher type for presence filters.
      • SUBSTRINGS

        public static final Matcher.MatcherType SUBSTRINGS
        The matcher type for substring filters.
      • EXTENSIBLE

        public static final Matcher.MatcherType EXTENSIBLE
        The matcher type for extensible matching filters.
      • UNDEFINED

        public static final Matcher.MatcherType UNDEFINED
        The matcher type for filters that could not be compiled (will always yield UNDEFINED).
    • Method Detail

      • values

        public static Matcher.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 (Matcher.MatcherType c : Matcher.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 Matcher.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