public class IsWatchedByPredicate extends com.google.gerrit.index.query.AndPredicate<ChangeData>
Modifier and Type | Field and Description |
---|---|
protected CurrentUser |
user |
Constructor and Description |
---|
IsWatchedByPredicate(ChangeQueryBuilder.Arguments args,
boolean checkIsVisible) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
describe(CurrentUser user) |
protected static java.util.List<com.google.gerrit.index.query.Predicate<ChangeData>> |
filters(ChangeQueryBuilder.Arguments args,
boolean checkIsVisible) |
int |
getCost() |
protected static java.util.Collection<WatchConfig.ProjectWatchKey> |
getWatches(ChangeQueryBuilder.Arguments args) |
protected static java.util.List<com.google.gerrit.index.query.Predicate<ChangeData>> |
none() |
java.lang.String |
toString() |
copy, equals, getChild, getChildCount, getChildren, hashCode, isMatchable, match
protected final CurrentUser user
public IsWatchedByPredicate(ChangeQueryBuilder.Arguments args, boolean checkIsVisible) throws QueryParseException
QueryParseException
protected static java.lang.String describe(CurrentUser user)
protected static java.util.List<com.google.gerrit.index.query.Predicate<ChangeData>> filters(ChangeQueryBuilder.Arguments args, boolean checkIsVisible) throws QueryParseException
QueryParseException
protected static java.util.Collection<WatchConfig.ProjectWatchKey> getWatches(ChangeQueryBuilder.Arguments args) throws QueryParseException
QueryParseException
protected static java.util.List<com.google.gerrit.index.query.Predicate<ChangeData>> none()
public int getCost()
getCost
in interface com.google.gerrit.index.query.Matchable<ChangeData>
getCost
in class com.google.gerrit.index.query.AndPredicate<ChangeData>
public java.lang.String toString()
toString
in class com.google.gerrit.index.query.AndPredicate<ChangeData>