Class ProjectIsVisibleToPredicate
java.lang.Object
com.google.gerrit.index.query.Predicate<com.google.gerrit.index.project.ProjectData>
com.google.gerrit.index.query.OperatorPredicate<com.google.gerrit.index.project.ProjectData>
com.google.gerrit.index.query.IsVisibleToPredicate<com.google.gerrit.index.project.ProjectData>
com.google.gerrit.server.query.project.ProjectIsVisibleToPredicate
- All Implemented Interfaces:
- Matchable<com.google.gerrit.index.project.ProjectData>
public class ProjectIsVisibleToPredicate
extends IsVisibleToPredicate<com.google.gerrit.index.project.ProjectData>
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.index.query.PredicatePredicate.Any<T>
- 
Field SummaryFieldsFields inherited from class com.google.gerrit.index.query.OperatorPredicatename, value
- 
Constructor SummaryConstructorsConstructorDescriptionProjectIsVisibleToPredicate(PermissionBackend permissionBackend, CurrentUser user) 
- 
Method SummaryMethods inherited from class com.google.gerrit.index.query.OperatorPredicatecopy, equals, getOperator, getValue, hashCode, toStringMethods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getChild, getChildCount, getChildren, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, isMatchable, not, or, or, supportedForQueriesMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gerrit.index.query.MatchablematchResult
- 
Field Details- 
permissionBackend
- 
user
 
- 
- 
Constructor Details- 
ProjectIsVisibleToPredicate
 
- 
- 
Method Details- 
matchpublic boolean match(com.google.gerrit.index.project.ProjectData pd) Description copied from interface:MatchableDoes this predicate match this object?
- 
getCostpublic int getCost()Description copied from interface:MatchableReturns a cost estimate to run this predicate, higher figures cost more.
 
-