public interface ScriptController
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScriptController.ScriptStoppedException
This exception signifies that the Beanshell interpreter has a stop
request pending, which prevents most interactions with the system.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearMessageWindow()
Clears scripting console output window.
|
void |
message(java.lang.String text)
Displays text in the scripting console output window.
|
void |
resetInterpreter()
Clears all methods and variables defined in the script interpreter.
|
void |
runFile(java.io.File file)
Execute the script located in the given file.
|
void runFile(java.io.File file)
file - File containing the script to be run.void message(java.lang.String text)
throws ScriptController.ScriptStoppedException
text - Text to be displayed in the scripting console output window.ScriptController.ScriptStoppedException - if the script panel has been requested to
stop execution.void clearMessageWindow()
throws ScriptController.ScriptStoppedException
ScriptController.ScriptStoppedException - if the script panel has been requested to
stop execution.void resetInterpreter()
throws ScriptController.ScriptStoppedException
ScriptController.ScriptStoppedException - if the script panel has been requested to
stop execution.