public class RouteSelectionCommandSet extends CompositeCommandSet
| Modifier and Type | Class and Description |
|---|---|
class |
RouteSelectionCommandSet.BuiltIns |
static class |
RouteSelectionCommandSet.SetGetTargetCommands |
| Constructor and Description |
|---|
RouteSelectionCommandSet() |
RouteSelectionCommandSet(CompositeCommandSet parentCommandSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRoutingCommandSet(String route,
String path,
CommandSet parent)
Add a command set at the specified path.
|
boolean |
containsPath(String path) |
String |
getActiveRoute() |
Map<String,CommandSet> |
getCommandSetsForRoute(String root)
Return all the command sets below
root |
Map<String,RoutingCommandSet> |
getRoutes()
Return a list of routes and their associated
RoutingCommandSet |
void |
removeRoute(String route)
Remove all paths that start with or are equal to
route. |
add, getCommandDictionary, getCommandSets, invoke, removepublic RouteSelectionCommandSet()
public RouteSelectionCommandSet(CompositeCommandSet parentCommandSet)
public String getActiveRoute()
public void addRoutingCommandSet(String route, String path, CommandSet parent)
route - the route corresponding to the CommandSetpath - the command set pathparent - the parent command setpublic void removeRoute(String route)
route.route - the root route to remove.public boolean containsPath(String path)
path - public Map<String,RoutingCommandSet> getRoutes()
RoutingCommandSetpublic Map<String,CommandSet> getCommandSetsForRoute(String root)
rootroot - the root route.Copyright © 2019 LSST. All rights reserved.