Class AccountIsVisibleToPredicate
- java.lang.Object
-
- com.google.gerrit.index.query.Predicate<T>
-
- com.google.gerrit.index.query.OperatorPredicate<T>
-
- com.google.gerrit.index.query.IsVisibleToPredicate<AccountState>
-
- com.google.gerrit.server.query.account.AccountIsVisibleToPredicate
-
- All Implemented Interfaces:
com.google.gerrit.index.query.Matchable<AccountState>
public class AccountIsVisibleToPredicate extends com.google.gerrit.index.query.IsVisibleToPredicate<AccountState>
-
-
Field Summary
Fields Modifier and Type Field Description protected AccountControl
accountControl
-
Constructor Summary
Constructors Constructor Description AccountIsVisibleToPredicate(AccountControl accountControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
boolean
match(AccountState accountState)
-
Methods inherited from class com.google.gerrit.index.query.OperatorPredicate
copy, equals, getOperator, getValue, hashCode, toString
-
-
-
-
Field Detail
-
accountControl
protected final AccountControl accountControl
-
-
Constructor Detail
-
AccountIsVisibleToPredicate
public AccountIsVisibleToPredicate(AccountControl accountControl)
-
-
Method Detail
-
match
public boolean match(AccountState accountState) throws com.google.gwtorm.server.OrmException
- Throws:
com.google.gwtorm.server.OrmException
-
getCost
public int getCost()
-
-