Package es.situm.sdk.directions
Enum DirectionsModifier.Actions
- java.lang.Object
-
- java.lang.Enum<DirectionsModifier.Actions>
-
- es.situm.sdk.directions.DirectionsModifier.Actions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DirectionsModifier.Actions>
- Enclosing class:
- DirectionsModifier
public static enum DirectionsModifier.Actions extends java.lang.Enum<DirectionsModifier.Actions>
Actions to be processed when computing a route
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVOID
Gives less importance to linksPRIORITIZE
Gives preference to linksUNKNOWN
This value is necessary for initialization purposes but as a developer you should never use it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirectionsModifier.Actions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DirectionsModifier.Actions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static DirectionsModifier.Actions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DirectionsModifier.Actions c : DirectionsModifier.Actions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionsModifier.Actions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-