org.apache.maven.plugin.surefire.booterclient
Class ForkingStreamConsumer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForkingStreamConsumer
public ForkingStreamConsumer(OutputConsumer outputConsumer)
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.