Class RegexUploaderEmailPredicate

All Implemented Interfaces:
Matchable<ChangeData>

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

    • uploaderEmailPattern

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