Class Match<T>


  • public class Match<T>
    extends Object
    a Match is the holder for the match string and the object to hold against it.
    • Method Detail

      • createPattern

        public static Pattern createPattern​(String match,
                                            WildcardConfiguration wildcardConfiguration,
                                            boolean direct)
        Parameters:
        match -
        wildcardConfiguration -
        direct - setting true is useful for use-cases where you just want to know whether or not a message sent to a particular address would match the pattern
        Returns:
      • getMatch

        public final String getMatch()
      • getPattern

        public final Pattern getPattern()
      • getValue

        public final T getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object