Class ReviewerinPredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OperatorPredicate<T>
-
- com.google.gerrit.index.query.PostFilterPredicate<ChangeData>
-
- com.google.gerrit.server.query.change.ReviewerinPredicate
-
- All Implemented Interfaces:
Matchable<ChangeData>
public class ReviewerinPredicate extends PostFilterPredicate<ChangeData>
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentifiedUser.GenericFactory
userFactory
protected AccountGroup.UUID
uuid
-
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
-
Constructor Summary
Constructors Constructor Description ReviewerinPredicate(IdentifiedUser.GenericFactory userFactory, AccountGroup.UUID uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AccountGroup.UUID
getAccountGroupUUID()
int
getCost()
boolean
match(ChangeData object)
Does this predicate match this object?-
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, getLeafCount, isMatchable, not, or, or
-
-
-
-
Field Detail
-
userFactory
protected final IdentifiedUser.GenericFactory userFactory
-
uuid
protected final AccountGroup.UUID uuid
-
-
Constructor Detail
-
ReviewerinPredicate
public ReviewerinPredicate(IdentifiedUser.GenericFactory userFactory, AccountGroup.UUID uuid)
-
-
Method Detail
-
getAccountGroupUUID
protected AccountGroup.UUID getAccountGroupUUID()
-
match
public boolean match(ChangeData object)
Description copied from interface:Matchable
Does this predicate match this object?
-
getCost
public int getCost()
- Returns:
- a cost estimate to run this predicate, higher figures cost more.
-
-