Package gda.jython
Interface IScriptController
- All Known Implementing Classes:
JythonServerFacade,MockJythonServerFacade
public interface IScriptController
Interface used by some classes to holder the script status
Provided to ensure loose coupling between callers and implementation
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the currently running script, if presentvoidvoidvoidsetScriptStatus(JythonStatus status)
-
Method Details
-
getScriptStatus
JythonStatus getScriptStatus()- Returns:
- status see values in Jython e.g. JYTHON.IDLE
-
getScriptName
Returns the name of the currently running script, if present- Returns:
- name of current script
-
setScriptStatus
- Parameters:
status- see values in Jython e.g. JYTHON.IDLE
-
pauseCurrentScript
void pauseCurrentScript()- See Also:
-
resumeCurrentScript
void resumeCurrentScript()- See Also:
-