Class SubmitRequirementPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.OperatorPredicate<ChangeData>
com.google.gerrit.server.query.change.SubmitRequirementPredicate
- All Implemented Interfaces:
Matchable<ChangeData>
- Direct Known Subclasses:
ConstantPredicate
,DistinctVotersPredicate
,FileEditsPredicate
,HasSubmoduleUpdatePredicate
,RegexAuthorEmailPredicate
,RegexCommitterEmailPredicate
,RegexUploaderEmailPredicate
public abstract class SubmitRequirementPredicate
extends OperatorPredicate<ChangeData>
implements Matchable<ChangeData>
Predicate that can be used in submit requirement expressions. Subclasses extended by this
predicate cannot be used in search queries.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gerrit.index.query.Predicate
Predicate.Any<T>
-
Field Summary
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether this predicate can be used in search queries.Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString
Methods 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
-
Constructor Details
-
SubmitRequirementPredicate
-
-
Method Details
-
supportedForQueries
public boolean supportedForQueries()Description copied from class:Predicate
Whether this predicate can be used in search queries.- Overrides:
supportedForQueries
in classPredicate<ChangeData>
-