Enum Class DirectionsModifier.Actions

java.lang.Object
java.lang.Enum<DirectionsModifier.Actions>
es.situm.sdk.directions.DirectionsModifier.Actions
All Implemented Interfaces:
Serializable, Comparable<DirectionsModifier.Actions>, Constable
Enclosing class:
DirectionsModifier

public static enum DirectionsModifier.Actions extends Enum<DirectionsModifier.Actions>
Actions to be processed when computing a route
  • Enum Constant Details

    • UNKNOWN

      public static final DirectionsModifier.Actions UNKNOWN
      This value is necessary for initialization purposes but as a developer you should never use it. Additionally they will not get processed.
    • PRIORITIZE

      public static final DirectionsModifier.Actions PRIORITIZE
      Gives preference to links
    • AVOID

      public static final DirectionsModifier.Actions AVOID
      Gives less importance to links
  • Method Details

    • values

      public static DirectionsModifier.Actions[] 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 DirectionsModifier.Actions 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