public class CompositeExecutionLogListener extends java.lang.Object implements ExecutionLogListener
ExecutionLogListener.ExecutionContext
Constructor and Description |
---|
CompositeExecutionLogListener() |
Modifier and Type | Method and Description |
---|---|
void |
addExecutionLogListener(ExecutionLogListener listener) |
void |
commandStarted(ExecutionLogListener.ExecutionContext context) |
void |
exceptionOccurred(java.lang.Throwable e) |
void |
exitCode(int exitCode) |
protected java.util.List<ExecutionLogListener> |
listeners() |
void |
stdErr(java.lang.String output) |
void |
stdOut(java.lang.String output) |
public final void addExecutionLogListener(ExecutionLogListener listener)
protected final java.util.List<ExecutionLogListener> listeners()
public void commandStarted(ExecutionLogListener.ExecutionContext context)
commandStarted
in interface ExecutionLogListener
public void stdOut(java.lang.String output)
stdOut
in interface ExecutionLogListener
public void stdErr(java.lang.String output)
stdErr
in interface ExecutionLogListener
public void exitCode(int exitCode)
exitCode
in interface ExecutionLogListener
public void exceptionOccurred(java.lang.Throwable e)
exceptionOccurred
in interface ExecutionLogListener