Class ApprovalPredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<ApprovalContext>
-
- com.google.gerrit.server.query.approval.ApprovalPredicate
-
- All Implemented Interfaces:
Matchable<ApprovalContext>
- Direct Known Subclasses:
ChangeKindPredicate
,ExactValuePredicate
,ListOfFilesUnchangedPredicate
,MagicValuePredicate
,UserInPredicate
public abstract class ApprovalPredicate extends Predicate<ApprovalContext> implements Matchable<ApprovalContext>
-
-
Constructor Summary
Constructors Constructor Description ApprovalPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
Returns a cost estimate to run this predicate, higher figures cost more.-
Methods inherited from class com.google.gerrit.index.query.Predicate
and, and, any, asMatchable, copy, equals, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, hashCode, isLeaf, isMatchable, not, or, or, supportedForQueries
-
-
-
-
Method Detail
-
getCost
public int getCost()
Description copied from interface:Matchable
Returns a cost estimate to run this predicate, higher figures cost more.- Specified by:
getCost
in interfaceMatchable<ApprovalContext>
-
-