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) |
Map<String,CommandSet> |
getCommandSetsForRoute(String root)
Return all the command sets below
root |
int |
getRouteLevel(String route) |
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. |
void |
setRouteCommandTypeVisibility(String route,
Command.CommandType... types) |
void |
setRouteLevel(String route,
int level)
Set the level for the given route and all the sub targets defined by this
route.
|
add, getCommandDictionary, getCommandSets, invoke, removepublic RouteSelectionCommandSet()
public RouteSelectionCommandSet(CompositeCommandSet parentCommandSet)
public void setRouteLevel(String route, int level)
route - level - public int getRouteLevel(String route)
public void setRouteCommandTypeVisibility(String route, Command.CommandType... types)
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 © 2018 LSST. All rights reserved.