Class RegexCommitterEmailPredicate

All Implemented Interfaces:
Matchable<ChangeData>

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

    • committerEmailPattern

      protected final dk.brics.automaton.RunAutomaton committerEmailPattern
  • 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.