Class UserInPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<ApprovalContext>
com.google.gerrit.server.query.approval.ApprovalPredicate
com.google.gerrit.server.query.approval.UserInPredicate
- All Implemented Interfaces:
Matchable<ApprovalContext>
Predicate that matches group memberships of users such as uploader or approver.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.gerrit.index.query.Predicate
Predicate.Any<T>
-
Method Summary
Modifier and TypeMethodDescriptioncopy
(Collection<? extends Predicate<ApprovalContext>> children) Create a copy of this predicate, with new children.boolean
int
hashCode()
boolean
match
(ApprovalContext ctx) Does this predicate match this object?Methods inherited from class com.google.gerrit.server.query.approval.ApprovalPredicate
getCost
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, supportedForQueries
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.gerrit.index.query.Matchable
matchResult
-
Method Details
-
match
Description copied from interface:Matchable
Does this predicate match this object? -
copy
Description copied from class:Predicate
Create a copy of this predicate, with new children.- Specified by:
copy
in classPredicate<ApprovalContext>
-
hashCode
public int hashCode()- Specified by:
hashCode
in classPredicate<ApprovalContext>
-
equals
- Specified by:
equals
in classPredicate<ApprovalContext>
-