Class ConditionFactory.KeyRegexpCondition

    • Field Detail

      • pattern

        public final Pattern pattern
        A predicate used to match a the regexp against the key. Only used if the match type is regexp.
      • negateResult

        public final boolean negateResult
        If we should negate the result of the match.
    • Constructor Detail

      • KeyRegexpCondition

        public KeyRegexpCondition​(Pattern pattern,
                                  boolean negateResult)
        Creates a new KeyPatternCondition
        Parameters:
        pattern - The regular expression for matching keys.
        negateResult - If we should negate the result.