Class DistinctVotersPredicate

All Implemented Interfaces:
Matchable<ChangeData>

public class DistinctVotersPredicate extends SubmitRequirementPredicate
A submit requirement predicate that allows checking for distinct voters across labels.

Examples:

  • [Label-Name1,Label-Name2],value=MAX,count=2
  • [Label-Name1,Label-Name2,Label-Name3],count=5
  • 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.