Class GroupIsVisibleToPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.OperatorPredicate<T>
com.google.gerrit.index.query.IsVisibleToPredicate<InternalGroup>
com.google.gerrit.server.query.group.GroupIsVisibleToPredicate
- All Implemented Interfaces:
Matchable<InternalGroup>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gerrit.index.query.Predicate
Predicate.Any<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GroupControl.GenericFactory
protected final CurrentUser
Fields inherited from class com.google.gerrit.index.query.OperatorPredicate
name, value
-
Constructor Summary
ConstructorsConstructorDescriptionGroupIsVisibleToPredicate
(GroupControl.GenericFactory groupControlFactory, CurrentUser user) -
Method Summary
Modifier and TypeMethodDescriptionint
getCost()
Returns a cost estimate to run this predicate, higher figures cost more.boolean
match
(InternalGroup group) 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, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueries
-
Field Details
-
groupControlFactory
-
user
-
-
Constructor Details
-
GroupIsVisibleToPredicate
-
-
Method Details