public class ConsoleCommandShell.BusMasterCommands extends Object
| Constructor and Description |
|---|
BusMasterCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionWithJythonConsole() |
void |
connectToJythonConsole(String host,
int port) |
void |
executeScript(String scriptPath,
String... args) |
String |
get(ConsoleCommandShell.ConsoleParameters what) |
List<String> |
listSubsystems() |
List<String> |
listSubsystems(String options,
String agentType,
boolean allTypesAbove) |
void |
set(ConsoleCommandShell.ConsoleParameters what,
String value) |
void |
submitScript(String scriptPath,
String... args) |
@Command(name="listSubsystems",
description="List the subsystems on the CCS buses for a given Agent type",
alias="ls")
public List<String> listSubsystems(@Argument(name="Options",defaultValue="")
String options,
@Argument(name="Agent type",defaultValue="Worker")
String agentType,
@Argument(defaultValue="true")
boolean allTypesAbove)
@Command(description="Set Console parameters")
public void set(@Argument(name="item")
ConsoleCommandShell.ConsoleParameters what,
@Argument(name="value")
String value)
@Command(description="Get a Console parameter") public String get(@Argument(name="item") ConsoleCommandShell.ConsoleParameters what)
@Command(description="Execute a Jython script")
public void executeScript(@Argument(name="scriptPath")
String scriptPath,
@Argument(name="scriptArguments")
String... args)
throws IOException
IOException@Command(description="Submit a Jython script to a Jython Interpreter")
public void connectToJythonConsole(@Argument(name="host",defaultValue="localhost")
String host,
@Argument(name="port",defaultValue="4444")
int port)
throws IOException
IOException@Command(description="Submit a Jython script to a Jython Interpreter")
public void submitScript(@Argument(name="scriptPath")
String scriptPath,
@Argument(name="scriptArgs")
String... args)
throws IOException
IOException@Command(description="Submit a Jython script to a Jython Interpreter")
public void closeConnectionWithJythonConsole()
throws IOException
IOExceptionCopyright © 2018 LSST. All rights reserved.