public static enum Query.CancelStatus extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null