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 Details

    • authorEmailPattern

      protected final dk.brics.automaton.RunAutomaton authorEmailPattern
  • Constructor Details

  • Method Details

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