Package com.here.sdk.venue.routing
Enum Class EnableOption
- All Implemented Interfaces:
Serializable,Comparable<EnableOption>,Constable
Defines where the transport mode is enabled along the route.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable for the entire duration of the route.Not specifically defined.Enable at the start of the route (route head).Enable at the end of the route (route tail). -
Method Summary
Modifier and TypeMethodDescriptionstatic EnableOptionReturns the enum constant of this class with the specified name.static EnableOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_SPECIFIC
Not specifically defined.
-
ROUTE_HEAD
Enable at the start of the route (route head).
-
ROUTE_TAIL
Enable at the end of the route (route tail).
-
ENTIRE_ROUTE
Enable for the entire duration of the route.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-