Package es.situm.sdk.directions
Class DirectionsOptions
java.lang.Object
es.situm.sdk.directions.DirectionsOptions
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 ClassesModifier and TypeClassDescriptionstatic final classHelper class that creates well formedDirectionsOptionsinstances. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(DirectionsModifier.Actions modifierOption) Checks if modifiers include a modifier for a specific action.booleanChecks if modifiers contains anyDirectionsModifier.LEGACY_OPTIONSoptionReturns the list ofDirectionsModifierobject included on the options
-
Method Details
-
getModifiers
Returns the list ofDirectionsModifierobject included on the options -
contains
Checks if modifiers include a modifier for a specific action.- Parameters:
modifierOption-DirectionsModifier.Actionsoption- Returns:
- boolean value that determines if it is included (true) or not (false)
-
containsLegacyOptions
public boolean containsLegacyOptions()Checks if modifiers contains anyDirectionsModifier.LEGACY_OPTIONSoption- Returns:
- boolean value that indicates a
DirectionsModifier.LEGACY_OPTIONSoption is included (true) or not (false)
-