public interface ScriptProcess extends java.lang.Comparable<ScriptProcess>
Modifier and Type | Method and Description |
---|---|
void |
addScriptProcessListener(@NotNull ScriptProcessListener scriptProcessListener)
Adds a
ScriptProcessListener to be notified. |
void |
commandSent(@NotNull java.lang.String cmd)
Sends a message to the script process.
|
@NotNull 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.
|
int getScriptId()
@NotNull @NotNull java.lang.String getFilename()
void commandSent(@NotNull @NotNull java.lang.String cmd)
cmd
- the message to sendvoid addScriptProcessListener(@NotNull @NotNull ScriptProcessListener scriptProcessListener)
ScriptProcessListener
to be notified.scriptProcessListener
- the listener to addvoid killScript()