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
,RegexAuthorEmailPredicate
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.
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Constructor Summary
Constructors Constructor Description SubmitRequirementPredicate(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supportedForQueries()
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
-
-
-
-
Method Detail
-
supportedForQueries
public boolean supportedForQueries()
Description copied from class:Predicate
Whether this predicate can be used in search queries.- Overrides:
supportedForQueries
in classPredicate<ChangeData>
-
-