public class RoutePlannerManager
extends java.lang.Object
Constructor and Description |
---|
RoutePlannerManager() |
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the number of registered Route Planners.
|
RoutePlannerInterface |
getPlanner(java.lang.String id)
Gets the Route Planner registered with the given id.
|
java.util.Set<java.util.Map.Entry<java.lang.String,RoutePlannerInterface>> |
getReroutePlanners()
Gets a set of all id->Route Planner mapping entries containing only entries that support
re-routing.
|
java.util.Set<java.util.Map.Entry<java.lang.String,RoutePlannerInterface>> |
getRoutePlanners()
Gets a set of all id->Route Planner mapping entries representing all registered Route
Planners.
|
RoutePlannerInterface |
registerPlanner(java.lang.String id,
RoutePlannerInterface planner)
Registers the Route Planner with the given id.
|
RoutePlannerInterface |
unregisterPlanner(java.lang.String id)
Unregisters the Route Planner with the given id.
|
public RoutePlannerInterface getPlanner(java.lang.String id)
id
- the identifier for the specific route plannerpublic RoutePlannerInterface registerPlanner(java.lang.String id, RoutePlannerInterface planner)
id
- the identifier for a route plannerplanner
- the route plannerpublic RoutePlannerInterface unregisterPlanner(java.lang.String id)
id
- the identifier for the route plannerpublic java.util.Set<java.util.Map.Entry<java.lang.String,RoutePlannerInterface>> getRoutePlanners()
public java.util.Set<java.util.Map.Entry<java.lang.String,RoutePlannerInterface>> getReroutePlanners()
public int getCount()