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>
 
 public class MagicValuePredicate extends ApprovalPredicate Predicate that matches patch set approvals we want to copy based on the value.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceMagicValuePredicate.Factory
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Predicate<ApprovalContext>copy(Collection<? extends Predicate<ApprovalContext>> children)Create a copy of this predicate, with new children.booleanequals(Object other)inthashCode()booleanmatch(ApprovalContext ctx)Does this predicate match this object?- 
Methods inherited from class com.google.gerrit.server.query.approval.ApprovalPredicategetCost
 - 
Methods 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 Detail- 
matchpublic boolean match(ApprovalContext ctx) Description copied from interface:MatchableDoes this predicate match this object?
 - 
copypublic Predicate<ApprovalContext> copy(Collection<? extends Predicate<ApprovalContext>> children) Description 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>
 
 - 
equalspublic boolean equals(Object other) - Specified by:
- equalsin class- Predicate<ApprovalContext>
 
 
- 
 
-