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