com.xebialabs.deployit.plugin.overthere
Class DefaultProcessOutputHandler

java.lang.Object
  extended by com.xebialabs.deployit.plugin.overthere.AutoFlushingProcessOutputHandler
      extended by com.xebialabs.deployit.plugin.overthere.DefaultProcessOutputHandler
All Implemented Interfaces:
com.xebialabs.overthere.OverthereProcessOutputHandler, java.io.Closeable

public class DefaultProcessOutputHandler
extends AutoFlushingProcessOutputHandler

An AutoFlushingProcessOutputHandler that logs the output to a ExecutionContext.


Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.overthere.AutoFlushingProcessOutputHandler
FLUSH_CHECK_INTERVAL_MS, FLUSH_DELAY_MS
 
Constructor Summary
DefaultProcessOutputHandler(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
           
 
Method Summary
 void handleErrorLine(java.lang.String line)
           
protected  void handleOutput(java.lang.String buffer)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.overthere.AutoFlushingProcessOutputHandler
close, handleOutput, handleOutputLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProcessOutputHandler

public DefaultProcessOutputHandler(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
Method Detail

handleErrorLine

public void handleErrorLine(java.lang.String line)

handleOutput

protected void handleOutput(java.lang.String buffer)
Specified by:
handleOutput in class AutoFlushingProcessOutputHandler