Package gov.nasa.jpl.command
Class CommandController
java.lang.Object
gov.nasa.jpl.command.CommandController
This class takes in a command string, parses it, and issues the
appropriate command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanissueCommand(String command, String commandString) Takes in a command as a string and issues the appropriate command.
-
Constructor Details
-
CommandController
public CommandController()
-
-
Method Details
-
issueCommand
Takes in a command as a string and issues the appropriate command.- Parameters:
command- - name of command to be executedcommandString- - string containing activity name, id, etc. depending on command- Returns:
- - boolean, true when execution finishes correctly or throws CommandException
-