Class GroupIsVisibleToPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<InternalGroup>
com.google.gerrit.index.query.OperatorPredicate<InternalGroup>
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gerrit.index.query.Matchable
matchResult
-
Field Details
-
groupControlFactory
-
user
-
-
Constructor Details
-
GroupIsVisibleToPredicate
-
-
Method Details