public final class ChangeStatusPredicate extends ChangeIndexPredicate
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(Change.Status status) |
static Predicate<ChangeData> |
closed() |
boolean |
equals(Object other) |
int |
getCost() |
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, asMatchable, estimateCost, getChild, getChildCount, getChildren, isMatchable, not, or, or
public static String canonicalize(Change.Status status)
public static Predicate<ChangeData> parse(String value) throws QueryParseException
QueryParseException
public static Predicate<ChangeData> open()
public static Predicate<ChangeData> closed()
public Change.Status getStatus()
public boolean match(ChangeData object) throws com.google.gwtorm.server.OrmException
Matchable
com.google.gwtorm.server.OrmException
public int getCost()
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>