Class RegexCommitterEmailPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<ChangeData>
com.google.gerrit.index.query.OperatorPredicate<ChangeData>
com.google.gerrit.server.query.change.SubmitRequirementPredicate
com.google.gerrit.server.submitrequirement.predicate.RegexCommitterEmailPredicate
- All Implemented Interfaces:
Matchable<ChangeData>
A submit requirement predicate that matches with changes having the committer email's address
matching a specific regular expression pattern.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gerrit.index.query.Predicate
Predicate.Any<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final dk.brics.automaton.RunAutomatonFields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCost()Returns a cost estimate to run this predicate, higher figures cost more.booleanmatch(ChangeData cd) Does this predicate match this object?Methods inherited from class com.google.gerrit.server.query.change.SubmitRequirementPredicate
supportedForQueriesMethods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toStringMethods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or
-
Field Details
-
committerEmailPattern
protected final dk.brics.automaton.RunAutomaton committerEmailPattern
-
-
Constructor Details
-
RegexCommitterEmailPredicate
- Throws:
QueryParseException
-
-
Method Details