public class ReviewerPredicate extends ChangeIndexPredicate
Modifier and Type | Field and Description |
---|---|
protected Account.Id |
id |
protected ReviewerStateInternal |
state |
Modifier and Type | Method and Description |
---|---|
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
anyReviewerState(Account.Id id) |
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
cc(Account.Id id) |
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
forState(Account.Id id,
ReviewerStateInternal state) |
protected Account.Id |
getAccountId() |
int |
getCost() |
boolean |
match(ChangeData cd) |
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
reviewer(ChangeQueryBuilder.Arguments args,
Account.Id id) |
copy, equals, getOperator, getValue, hashCode, toString
protected final ReviewerStateInternal state
protected final Account.Id id
protected static com.google.gerrit.index.query.Predicate<ChangeData> forState(Account.Id id, ReviewerStateInternal state)
protected static com.google.gerrit.index.query.Predicate<ChangeData> reviewer(ChangeQueryBuilder.Arguments args, Account.Id id)
protected static com.google.gerrit.index.query.Predicate<ChangeData> cc(Account.Id id)
protected static com.google.gerrit.index.query.Predicate<ChangeData> anyReviewerState(Account.Id id)
protected Account.Id getAccountId()
public boolean match(ChangeData cd) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public int getCost()