public interface ScriptProcess extends java.lang.Comparable<ScriptProcess>
Modifier and Type | Method and Description |
---|---|
void |
addScriptProcessListener(ScriptProcessListener scriptProcessListener)
Adds a
ScriptProcessListener to be notified. |
void |
commandSent(java.lang.String cmd)
Sends a message to the script process.
|
java.lang.String |
getFilename()
Returns the script's filename.
|
int |
getScriptId()
Returns the script ID identifying this script instance.
|
void |
killScript()
Kills the script process.
|
void addScriptProcessListener(@NotNull ScriptProcessListener scriptProcessListener)
ScriptProcessListener
to be notified.scriptProcessListener
- the listener to addvoid commandSent(@NotNull java.lang.String cmd)
cmd
- the message to send@NotNull java.lang.String getFilename()
int getScriptId()
void killScript()