Package gda.commandqueue
Class JythonCommandStringRunnerCommand
java.lang.Object
gda.commandqueue.CommandBase
gda.commandqueue.JythonScriptFileRunnerCommand
gda.commandqueue.JythonCommandStringRunnerCommand
- All Implemented Interfaces:
Command,gda.observable.IObservable,Serializable
- Direct Known Subclasses:
ExperimentCommand
JythonScriptFileRunnerCommand is an implementation of Command whose run method runs the script file set by the
setScriptFile method in the CommandRunner
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface gda.commandqueue.Command
Command.STATE -
Field Summary
FieldsFields inherited from class gda.commandqueue.JythonScriptFileRunnerCommand
hasAlreadyBeenRun, scriptFile, settingsFileFields inherited from class gda.commandqueue.CommandBase
obsComp -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gda.commandqueue.JythonScriptFileRunnerCommand
abort, getCommandSummary, getDetails, getScriptFile, pause, resume, run, setDetails, setScriptFile, setSettingsPathMethods inherited from class gda.commandqueue.CommandBase
addIObserver, beginRun, deleteIObserver, deleteIObservers, endRun, getDescription, getState, setDescription, setState
-
Field Details
-
commandString
-
-
Constructor Details
-
JythonCommandStringRunnerCommand
public JythonCommandStringRunnerCommand()
-
-
Method Details
-
runCommand
public void runCommand()- Overrides:
runCommandin classJythonScriptFileRunnerCommand
-
toString
- Overrides:
toStringin classJythonScriptFileRunnerCommand
-
getCommandString
- Returns:
- command string to run
-
setCommandString
- Parameters:
commandString- to run
-