E
- public abstract class EventScriptBase<E extends Event> extends java.lang.Object implements EventScript<E>
Modifier and Type | Field and Description |
---|---|
protected java.io.PrintStream |
err |
protected java.io.PrintStream |
out |
Constructor and Description |
---|
EventScriptBase() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
doExternalScript(E event,
java.util.List<java.lang.String> command) |
protected void |
error(java.lang.Object message) |
protected void |
print(java.lang.Object message) |
void |
setErrorStream(java.io.PrintStream err) |
void |
setOutputStream(java.io.PrintStream out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onEvent
public void setOutputStream(java.io.PrintStream out)
public void setErrorStream(java.io.PrintStream err)
protected void print(java.lang.Object message)
protected void error(java.lang.Object message)
protected java.lang.String doExternalScript(E event, java.util.List<java.lang.String> command)