public interface ScriptProcess
An external command executed as a client-sided script.
Method Summary | |
---|---|
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. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
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()