com.xebialabs.deployit.plugin.overthere
Class DefaultExecutionOutputHandler
java.lang.Object
com.xebialabs.deployit.plugin.overthere.DefaultExecutionOutputHandler
- All Implemented Interfaces:
- com.xebialabs.overthere.OverthereExecutionOutputHandler, java.io.Closeable
public class DefaultExecutionOutputHandler
- extends java.lang.Object
- implements com.xebialabs.overthere.OverthereExecutionOutputHandler, java.io.Closeable
An OverthereExecutionOutputHandler that delegates actual logging to its subclass. When no output has been
sent to the stream in a while, it is flushed automatically.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLUSH_DELAY_MS
public static final int FLUSH_DELAY_MS
- See Also:
- Constant Field Values
FLUSH_CHECK_INTERVAL_MS
public static final int FLUSH_CHECK_INTERVAL_MS
- See Also:
- Constant Field Values
handleLine
public final void handleLine(java.lang.String line)
- Specified by:
handleLine in interface com.xebialabs.overthere.OverthereExecutionOutputHandler
handleChar
public final void handleChar(char c)
- Specified by:
handleChar in interface com.xebialabs.overthere.OverthereExecutionOutputHandler
close
public void close()
- Specified by:
close in interface java.io.Closeable
handleStdout
public static DefaultExecutionOutputHandler handleStdout(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
handleStderr
public static DefaultExecutionOutputHandler handleStderr(com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)