public final class ChangeStatusPredicate extends IndexPredicate<ChangeData>
Change.Status
.
The actual name of this operator can differ, it usually comes as status:
but may also be is:
to help do-what-i-meanery for end-users
searching for changes. Either operator name has the same meaning.
Status names are looked up by prefix case-insensitively.
Modifier and Type | Method and Description |
---|---|
static String |
canonicalize(com.google.gerrit.reviewdb.client.Change.Status status) |
static Predicate<ChangeData> |
closed() |
boolean |
equals(Object other) |
int |
getCost() |
com.google.gerrit.reviewdb.client.Change.Status |
getStatus() |
int |
hashCode() |
boolean |
match(ChangeData object)
Does this predicate match this object?
|
static Predicate<ChangeData> |
open() |
static Predicate<ChangeData> |
parse(String value) |
String |
toString() |
getField, getType
copy, getOperator, getValue
and, and, any, getChild, getChildCount, getChildren, not, or, or
public static String canonicalize(com.google.gerrit.reviewdb.client.Change.Status status)
public static Predicate<ChangeData> parse(String value)
public static Predicate<ChangeData> open()
public static Predicate<ChangeData> closed()
public com.google.gerrit.reviewdb.client.Change.Status getStatus()
public boolean match(ChangeData object) throws com.google.gwtorm.server.OrmException
Predicate
match
in class Predicate<ChangeData>
com.google.gwtorm.server.OrmException
public int getCost()
getCost
in class Predicate<ChangeData>
public int hashCode()
hashCode
in class OperatorPredicate<ChangeData>
public boolean equals(Object other)
equals
in class OperatorPredicate<ChangeData>
public String toString()
toString
in class OperatorPredicate<ChangeData>