Package es.situm.sdk.directions
Class DirectionsOptions
- java.lang.Object
-
- es.situm.sdk.directions.DirectionsOptions
-
public class DirectionsOptions extends java.lang.Object
Include additional parameters that determine how a route is computed, which links should be considered (either avoided or prioritized) when finding a route between two points.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DirectionsOptions.Builder
Helper class that creates well formedDirectionsOptions
instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(DirectionsModifier.Actions modifierOption)
Checks if modifiers include a modifier for a specific action.boolean
containsLegacyOptions()
Checks if modifiers contains anyDirectionsModifier.LEGACY_OPTIONS
optionjava.util.List<DirectionsModifier>
getModifiers()
Returns the list ofDirectionsModifier
object included on the options
-
-
-
Method Detail
-
getModifiers
public java.util.List<DirectionsModifier> getModifiers()
Returns the list ofDirectionsModifier
object included on the options
-
contains
public boolean contains(DirectionsModifier.Actions modifierOption)
Checks if modifiers include a modifier for a specific action.- Parameters:
modifierOption
-DirectionsModifier.Actions
option- Returns:
- boolean value that determines if it is included (true) or not (false)
-
containsLegacyOptions
public boolean containsLegacyOptions()
Checks if modifiers contains anyDirectionsModifier.LEGACY_OPTIONS
option- Returns:
- boolean value that indicates a
DirectionsModifier.LEGACY_OPTIONS
option is included (true) or not (false)
-
-