Traversability (API Reference)
Package com.here.sdk.traffic
Enum Class Traversability
- All Implemented Interfaces:
Serializable,Comparable<Traversability>,Constable
Junctions traversability of some traffic incident or flow section.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe roadway is closed (blocked) and cannot be driven upon.The roadway is open and can be driven upon.The roadway is reversible but is currently not routable. -
Method Summary
Modifier and TypeMethodDescriptionstatic TraversabilityReturns the enum constant of this class with the specified name.static Traversability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPEN
The roadway is open and can be driven upon.
-
CLOSED
The roadway is closed (blocked) and cannot be driven upon.
-
REVERSIBLE_NOT_ROUTABLE
The roadway is reversible but is currently not routable.
-
-
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
-