de.flapdoodle.embedmongo.io
Class LogWatchStreamProcessor

java.lang.Object
  extended by de.flapdoodle.embedmongo.io.LogWatchStreamProcessor
All Implemented Interfaces:
IStreamProcessor

public class LogWatchStreamProcessor
extends Object
implements IStreamProcessor


Constructor Summary
LogWatchStreamProcessor(String success, String failure, IStreamProcessor destination)
           
 
Method Summary
 String getOutput()
           
 boolean isInitWithSuccess()
           
 void onProcessed()
           
 void process(String block)
           
 void waitForResult(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogWatchStreamProcessor

public LogWatchStreamProcessor(String success,
                               String failure,
                               IStreamProcessor destination)
Method Detail

process

public void process(String block)
Specified by:
process in interface IStreamProcessor

onProcessed

public void onProcessed()
Specified by:
onProcessed in interface IStreamProcessor

waitForResult

public void waitForResult(long timeout)

isInitWithSuccess

public boolean isInitWithSuccess()

getOutput

public String getOutput()


Copyright © 2012. All Rights Reserved.