public enum Message extends Enum<Message>
Modifier and Type | Method and Description |
---|---|
static Message |
findEnumByProperty(String value) |
static Message |
findEnumByProperty(String value,
Locale l)
will return the enum who's .property value matches the passed in value ...
|
String |
get() |
String |
get(Locale l) |
String |
get(String def,
Locale l) |
Properties |
getConfig()
simple checker / getter of the config
|
int |
getId() |
static Message |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message PLAN_OK
public static final Message SYSTEM_ERROR
public static final Message GRAPH_UNAVAILABLE
public static final Message OUTSIDE_BOUNDS
public static final Message PATH_NOT_FOUND
public static final Message NO_TRANSIT_TIMES
public static final Message REQUEST_TIMEOUT
public static final Message BOGUS_PARAMETER
public static final Message GEOCODE_FROM_NOT_FOUND
public static final Message GEOCODE_TO_NOT_FOUND
public static final Message GEOCODE_FROM_TO_NOT_FOUND
public static final Message TOO_CLOSE
public static final Message LOCATION_NOT_ACCESSIBLE
public static final Message GEOCODE_FROM_AMBIGUOUS
public static final Message GEOCODE_TO_AMBIGUOUS
public static final Message GEOCODE_FROM_TO_AMBIGUOUS
public static final Message UNDERSPECIFIED_TRIANGLE
public static final Message TRIANGLE_NOT_AFFINE
public static final Message TRIANGLE_OPTIMIZE_TYPE_NOT_SET
public static final Message TRIANGLE_VALUES_NOT_SET
public static Message[] values()
for (Message c : Message.values()) System.out.println(c);
public static Message 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 nullpublic int getId()
public Properties getConfig()
public String get()
public static Message findEnumByProperty(String value, Locale l)
Copyright © 2018. All rights reserved.