Class MagicValuePredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<ApprovalContext>
com.google.gerrit.server.query.approval.ApprovalPredicate
com.google.gerrit.server.query.approval.MagicValuePredicate
- All Implemented Interfaces:
- Matchable<ApprovalContext>
Predicate that matches patch set approvals we want to copy based on the value.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.google.gerrit.index.query.PredicatePredicate.Any<T>
- 
Method SummaryModifier and TypeMethodDescriptioncopy(Collection<? extends Predicate<ApprovalContext>> children) Create a copy of this predicate, with new children.booleaninthashCode()booleanmatch(ApprovalContext ctx) Does this predicate match this object?Methods inherited from class com.google.gerrit.server.query.approval.ApprovalPredicategetCostMethods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueries
- 
Method Details- 
matchDescription copied from interface:MatchableDoes this predicate match this object?
- 
copyDescription copied from class:PredicateCreate a copy of this predicate, with new children.- Specified by:
- copyin class- Predicate<ApprovalContext>
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein class- Predicate<ApprovalContext>
 
- 
equals- Specified by:
- equalsin class- Predicate<ApprovalContext>
 
 
-