public class LabelPredicate extends com.google.gerrit.index.query.OrPredicate<ChangeData>
Modifier and Type | Class and Description |
---|---|
protected static class |
LabelPredicate.Args |
protected static class |
LabelPredicate.Parsed |
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_LABEL_VALUE |
protected String |
value |
Constructor and Description |
---|
LabelPredicate(ChangeQueryBuilder.Arguments a,
String value,
Set<Account.Id> accounts,
AccountGroup.UUID group) |
Modifier and Type | Method and Description |
---|---|
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
equalsLabelPredicate(LabelPredicate.Args args,
String label,
int expVal) |
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
noLabelQuery(LabelPredicate.Args args,
String label) |
protected static com.google.gerrit.index.query.Predicate<ChangeData> |
onePredicate(LabelPredicate.Args args,
String label,
int expVal) |
protected static List<com.google.gerrit.index.query.Predicate<ChangeData>> |
predicates(LabelPredicate.Args args) |
String |
toString() |
copy, equals, getChild, getChildCount, getChildren, getCost, hashCode, isMatchable, match
protected static final int MAX_LABEL_VALUE
protected final String value
public LabelPredicate(ChangeQueryBuilder.Arguments a, String value, Set<Account.Id> accounts, AccountGroup.UUID group)
protected static List<com.google.gerrit.index.query.Predicate<ChangeData>> predicates(LabelPredicate.Args args)
protected static com.google.gerrit.index.query.Predicate<ChangeData> onePredicate(LabelPredicate.Args args, String label, int expVal)
protected static com.google.gerrit.index.query.Predicate<ChangeData> noLabelQuery(LabelPredicate.Args args, String label)
protected static com.google.gerrit.index.query.Predicate<ChangeData> equalsLabelPredicate(LabelPredicate.Args args, String label, int expVal)
public String toString()
toString
in class com.google.gerrit.index.query.OrPredicate<ChangeData>