org.apache.maven.plugin.surefire.booterclient
Class ForkingStreamConsumer

java.lang.Object
  extended by org.apache.maven.plugin.surefire.booterclient.ForkingStreamConsumer
All Implemented Interfaces:
StreamConsumer

public class ForkingStreamConsumer
extends Object
implements StreamConsumer

StreamConsumer that understands Surefire output made by ForkingConsoleReporter and filters it depending on configuration options

Since:
2.1
Version:
$Id: ForkingStreamConsumer.java 1050534 2010-12-17 23:54:50Z hboutemy $
Author:
Carlos Sanchez

Constructor Summary
ForkingStreamConsumer(OutputConsumer outputConsumer)
           
 
Method Summary
 void consumeLine(String line)
           
 OutputConsumer getOutputConsumer()
          Get the underlying output consumer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkingStreamConsumer

public ForkingStreamConsumer(OutputConsumer outputConsumer)
Method Detail

consumeLine

public void consumeLine(String line)
Specified by:
consumeLine in interface StreamConsumer

getOutputConsumer

public OutputConsumer getOutputConsumer()
Get the underlying output consumer.

Returns:
the output consumer


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.