public class ProjectIsVisibleToPredicate extends IsVisibleToPredicate<com.google.gerrit.index.project.ProjectData>
Modifier and Type | Field and Description |
---|---|
protected PermissionBackend |
permissionBackend |
protected CurrentUser |
user |
name, value
Constructor and Description |
---|
ProjectIsVisibleToPredicate(PermissionBackend permissionBackend,
CurrentUser user) |
Modifier and Type | Method and Description |
---|---|
int |
getCost() |
boolean |
match(com.google.gerrit.index.project.ProjectData pd)
Does this predicate match this object?
|
copy, equals, getOperator, getValue, hashCode, toString
and, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, or
protected final PermissionBackend permissionBackend
protected final CurrentUser user
public ProjectIsVisibleToPredicate(PermissionBackend permissionBackend, CurrentUser user)
public boolean match(com.google.gerrit.index.project.ProjectData pd) throws com.google.gwtorm.server.OrmException
Matchable
com.google.gwtorm.server.OrmException
public int getCost()