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:
com.google.gerrit.index.query.Matchable<InternalGroup>
public class GroupIsVisibleToPredicate extends com.google.gerrit.index.query.IsVisibleToPredicate<InternalGroup>
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupControl.GenericFactory
groupControlFactory
protected CurrentUser
user
-
Constructor Summary
Constructors Constructor Description GroupIsVisibleToPredicate(GroupControl.GenericFactory groupControlFactory, CurrentUser user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
boolean
match(InternalGroup group)
-
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString
-
-
-
-
Field Detail
-
groupControlFactory
protected final GroupControl.GenericFactory groupControlFactory
-
user
protected final CurrentUser user
-
-
Constructor Detail
-
GroupIsVisibleToPredicate
public GroupIsVisibleToPredicate(GroupControl.GenericFactory groupControlFactory, CurrentUser user)
-
-
Method Detail
-
match
public boolean match(InternalGroup group) throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
getCost
public int getCost()
-
-