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, toStringand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getLeafCount, isMatchable, not, or, orprotected 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
Matchablecom.google.gwtorm.server.OrmExceptionpublic int getCost()