public enum JsonStatus extends java.lang.Enum<JsonStatus>
Enum Constant and Description |
---|
INVALID_REQUEST |
MAX_ROUTE_LENGTH_EXCEEDED |
MAX_WAYPOINTS_EXCEEDED |
NOT_FOUND |
OK |
OVER_QUERY_LIMIT |
REQUEST_DENIED |
UNKNOWN_ERROR |
ZERO_RESULTS |
Modifier and Type | Method and Description |
---|---|
static JsonStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonStatus OK
public static final JsonStatus NOT_FOUND
public static final JsonStatus ZERO_RESULTS
public static final JsonStatus MAX_WAYPOINTS_EXCEEDED
public static final JsonStatus MAX_ROUTE_LENGTH_EXCEEDED
public static final JsonStatus INVALID_REQUEST
public static final JsonStatus OVER_QUERY_LIMIT
public static final JsonStatus REQUEST_DENIED
public static final JsonStatus UNKNOWN_ERROR
public static JsonStatus[] values()
for (JsonStatus c : JsonStatus.values()) System.out.println(c);
public static JsonStatus 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