java.lang.Object | ||
↳ | com.esri.core.tasks.ags.na.NAParameters | |
↳ | com.esri.core.tasks.ags.na.RoutingParameters |
Class holding the parameters of a route to be solved on the server.
In this class, you can define:
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.tasks.ags.na.NAParameters
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoutingParameters()
The Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDirectionsLanguage()
Returns the language in which to return the directions.
| ||||||||||
DirectionsLengthUnit |
getDirectionsLengthUnit()
Returns the Unit type of the length of the directions.
| ||||||||||
DirectionsOutputType |
getDirectionsOutputType()
Returns the type in which the directions are output.
| ||||||||||
String |
getDirectionsStyleName()
Returns the name of the style in which to return the directions.
| ||||||||||
String |
getDirectionsTimeAttributeName()
Returns the name of the directions time attribute.
| ||||||||||
Boolean |
getFindBestSequence()
Gets whether or not to find the best sequence of stops.
| ||||||||||
Boolean |
getIgnoreInvalidLocations()
Gets whether or not invalid locations should be ignored.
| ||||||||||
Boolean |
getPreserveFirstStop()
Gets whether or not to preserve the first stop.
| ||||||||||
Boolean |
getPreserveLastStop()
Gets whether or not to preserve the last stop.
| ||||||||||
Long |
getStartTime()
Returns the time to start the routing.
| ||||||||||
NAFeatures |
getStops()
Returns the stops to route between.
| ||||||||||
Boolean |
getUseTimeWindows()
Gets whether or not to use time windows.
| ||||||||||
boolean |
isReturnDirections()
Gets whether or not to return directions.
| ||||||||||
boolean |
isReturnRoutes()
Gets whether or not to return routes.
| ||||||||||
boolean |
isReturnStops()
Gets whether or not to return stops.
| ||||||||||
void |
setDirectionsLanguage(String directionsLanguage)
Sets the language in which to return the directions.
| ||||||||||
void |
setDirectionsLengthUnit(DirectionsLengthUnit directionsLengthUnit)
Sets the Unit type of the length of the directions.
| ||||||||||
void |
setDirectionsOutputType(DirectionsOutputType directionsOutputType)
Sets the type in which the directions are output.
| ||||||||||
void |
setDirectionsStyleName(String directionsStyleName)
Sets the name of the style in which to return the directions.
| ||||||||||
void |
setDirectionsTimeAttributeName(String directionsTimeAttributeName)
Sets the name of the directions time attribute.
| ||||||||||
void |
setFindBestSequence(Boolean findBestSequence)
Sets whether or not to find the best sequence of stops.
| ||||||||||
void |
setIgnoreInvalidLocations(Boolean ignoreInvalidLocations)
Gets whether or not invalid locations should be ignored.
| ||||||||||
void |
setPreserveFirstStop(Boolean preserveFirstStop)
Sets whether or not to preserve the first stop.
| ||||||||||
void |
setPreserveLastStop(Boolean preserveLastStop)
Sets whether or not to preserve the last stop.
| ||||||||||
void |
setReturnDirections(boolean returnDirections)
Sets whether or not to return directions.
| ||||||||||
void |
setReturnRoutes(boolean returnRoutes)
Sets whether or not to return routes.
| ||||||||||
void |
setReturnStops(boolean returnStops)
Sets whether or not to return stops.
| ||||||||||
void |
setStartTime(Long startTime)
Sets the time to start the routing.
| ||||||||||
void |
setStops(NAFeatures stops)
Sets the stops to route between.
| ||||||||||
void |
setUseTimeWindows(Boolean useTimeWindows)
Sets whether or not to use time windows.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.tasks.ags.na.NAParameters
| |||||||||||
From class
java.lang.Object
|
The Constructor.
Returns the language in which to return the directions.
Returns the Unit type of the length of the directions.
Returns the type in which the directions are output.
Returns the name of the style in which to return the directions.
Returns the name of the directions time attribute.
Gets whether or not to find the best sequence of stops.
Gets whether or not invalid locations should be ignored.
Gets whether or not to preserve the first stop.
Gets whether or not to preserve the last stop.
Returns the time to start the routing.
Returns the stops to route between.
Gets whether or not to use time windows.
Gets whether or not to return directions.
Gets whether or not to return routes.
Gets whether or not to return stops.
Sets the language in which to return the directions.
directionsLanguage | the language in which to return the directions |
---|
Sets the Unit type of the length of the directions.
directionsLengthUnit | the Unit type of the length of the directions |
---|
Sets the type in which the directions are output.
directionsOutputType | the type in which the directions are output |
---|
Sets the name of the style in which to return the directions.
directionsStyleName | the name of the style in which to return the directions |
---|
Sets the name of the directions time attribute.
directionsTimeAttributeName | the name of the directions time attribute |
---|
Sets whether or not to find the best sequence of stops.
findBestSequence | true to find the best sequence of stops |
---|
Gets whether or not invalid locations should be ignored.
ignoreInvalidLocations | true if invalid locations should be ignored |
---|
Sets whether or not to preserve the first stop.
preserveFirstStop | true to preserve the first stop |
---|
Sets whether or not to preserve the last stop.
preserveLastStop | true to preserve the last stop |
---|
Sets whether or not to return directions.
returnDirections | true if directions should be returned |
---|
Sets whether or not to return routes.
returnRoutes | true if routes should be returned |
---|
Sets whether or not to return stops.
returnStops | true if stops should be returned |
---|
Sets the time to start the routing.
startTime | the time to start the routing |
---|
Sets the stops to route between.
stops | the stops to route between |
---|
Sets whether or not to use time windows.
useTimeWindows | true to use time windows |
---|