public class DefaultExecutionOutputHandler
extends java.lang.Object
implements com.xebialabs.overthere.OverthereExecutionOutputHandler, java.io.Closeable
OverthereExecutionOutputHandler that delegates actual logging to its subclass. When no output has been
sent to the stream in a while, it is flushed automatically.| Modifier and Type | Field and Description |
|---|---|
static int |
FLUSH_CHECK_INTERVAL_MS |
static int |
FLUSH_DELAY_MS |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
handleChar(char c) |
void |
handleLine(java.lang.String line) |
static DefaultExecutionOutputHandler |
handleStderr(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context) |
static DefaultExecutionOutputHandler |
handleStdout(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context) |
public static final int FLUSH_DELAY_MS
public static final int FLUSH_CHECK_INTERVAL_MS
public final void handleLine(java.lang.String line)
handleLine in interface com.xebialabs.overthere.OverthereExecutionOutputHandlerpublic final void handleChar(char c)
handleChar in interface com.xebialabs.overthere.OverthereExecutionOutputHandlerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic static DefaultExecutionOutputHandler handleStdout(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
public static DefaultExecutionOutputHandler handleStderr(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)