public class GroupIsVisibleToPredicate extends com.google.gerrit.index.query.IsVisibleToPredicate<InternalGroup>
Modifier and Type | Field and Description |
---|---|
protected GroupControl.GenericFactory |
groupControlFactory |
protected CurrentUser |
user |
Constructor and Description |
---|
GroupIsVisibleToPredicate(GroupControl.GenericFactory groupControlFactory,
CurrentUser user) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
boolean |
match(InternalGroup group) |
copy, equals, getOperator, getValue, hashCode, toString
protected final GroupControl.GenericFactory groupControlFactory
protected final CurrentUser user
public GroupIsVisibleToPredicate(GroupControl.GenericFactory groupControlFactory, CurrentUser user)
public boolean match(InternalGroup group) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public int getCost()