public static enum Query.CancelStatus extends Enum<Query.CancelStatus>
| Enum Constant and Description |
|---|
CANCELED_BY_TIMEOUT |
CANCELED_BY_USER |
NOT_CANCELED |
| Modifier and Type | Method and Description |
|---|---|
static Query.CancelStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.CancelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.CancelStatus NOT_CANCELED
public static final Query.CancelStatus CANCELED_BY_USER
public static final Query.CancelStatus CANCELED_BY_TIMEOUT
public static Query.CancelStatus[] values()
for (Query.CancelStatus c : Query.CancelStatus.values()) System.out.println(c);
public static Query.CancelStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null