Enum Class Traversability

java.lang.Object
java.lang.Enum<Traversability>
com.here.sdk.traffic.Traversability
All Implemented Interfaces:
Serializable, Comparable<Traversability>, Constable

public enum Traversability extends Enum<Traversability>

Junctions traversability of some traffic incident or flow section.

  • Enum Constant Details

    • OPEN

      public static final Traversability OPEN

      The roadway is open and can be driven upon.

    • CLOSED

      public static final Traversability CLOSED

      The roadway is closed (blocked) and cannot be driven upon.

    • REVERSIBLE_NOT_ROUTABLE

      public static final Traversability REVERSIBLE_NOT_ROUTABLE

      The roadway is reversible but is currently not routable.

  • Method Details

    • values

      public static Traversability[] 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

      public static Traversability valueOf(String name)
      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 name
      NullPointerException - if the argument is null