Class RegexAuthorEmailPredicate

  • All Implemented Interfaces:
    Matchable<ChangeData>

    public class RegexAuthorEmailPredicate
    extends SubmitRequirementPredicate
    A submit requirement predicate that matches with changes having the author email's address matching a specific regular expression pattern.
    • Field Detail

      • authorEmailPattern

        protected final dk.brics.automaton.RunAutomaton authorEmailPattern
    • Method Detail

      • match

        public boolean match​(ChangeData cd)
        Description copied from interface: Matchable
        Does this predicate match this object?
      • getCost

        public int getCost()
        Description copied from interface: Matchable
        Returns a cost estimate to run this predicate, higher figures cost more.