com.xebialabs.deployit.plugin.overthere
Class AutoFlushingProcessOutputHandler
java.lang.Object
com.xebialabs.deployit.plugin.overthere.AutoFlushingProcessOutputHandler
- All Implemented Interfaces:
- com.xebialabs.overthere.OverthereProcessOutputHandler, java.io.Closeable
- Direct Known Subclasses:
- AutoFlushingExecutionContextOverthereProcessOutputHandler, DefaultProcessOutputHandler
public abstract class AutoFlushingProcessOutputHandler
- extends java.lang.Object
- implements com.xebialabs.overthere.OverthereProcessOutputHandler, java.io.Closeable
A OverthereProcessOutputHandler that delegates actual logging to its subclass. 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 |
| Methods inherited from interface com.xebialabs.overthere.OverthereProcessOutputHandler |
handleErrorLine |
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
AutoFlushingProcessOutputHandler
public AutoFlushingProcessOutputHandler()
handleOutputLine
public final void handleOutputLine(java.lang.String line)
- Specified by:
handleOutputLine in interface com.xebialabs.overthere.OverthereProcessOutputHandler
handleOutput
public final void handleOutput(char c)
- Specified by:
handleOutput in interface com.xebialabs.overthere.OverthereProcessOutputHandler
handleOutput
protected abstract void handleOutput(java.lang.String buffer)
close
public void close()
- Specified by:
close in interface java.io.Closeable