com.xebialabs.deployit.plugin.overthere
Class AutoFlushingExecutionContextOverthereProcessOutputHandler
java.lang.Object
com.xebialabs.deployit.plugin.overthere.AutoFlushingExecutionContextOverthereProcessOutputHandler
- All Implemented Interfaces:
- com.xebialabs.overthere.OverthereProcessOutputHandler, java.io.Closeable
public class AutoFlushingExecutionContextOverthereProcessOutputHandler
- extends java.lang.Object
- implements com.xebialabs.overthere.OverthereProcessOutputHandler, java.io.Closeable
A CommandExecutionCallbackHandler that logs the output to a ExecutionContext. When no output has
been sent to stdout 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
AutoFlushingExecutionContextOverthereProcessOutputHandler
public AutoFlushingExecutionContextOverthereProcessOutputHandler(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx)
handleOutputLine
public void handleOutputLine(java.lang.String line)
- Specified by:
handleOutputLine in interface com.xebialabs.overthere.OverthereProcessOutputHandler
handleErrorLine
public void handleErrorLine(java.lang.String line)
- Specified by:
handleErrorLine in interface com.xebialabs.overthere.OverthereProcessOutputHandler
handleOutput
public void handleOutput(char c)
- Specified by:
handleOutput in interface com.xebialabs.overthere.OverthereProcessOutputHandler
close
public void close()
- Specified by:
close in interface java.io.Closeable