org.apache.maven.plugin.surefire.booterclient.output
Class ForkClient
java.lang.Object
org.apache.maven.plugin.surefire.booterclient.output.ForkClient
- All Implemented Interfaces:
- org.codehaus.plexus.util.cli.StreamConsumer
public class ForkClient
- extends java.lang.Object
- implements org.codehaus.plexus.util.cli.StreamConsumer
Knows how to reconstruct *all* the state transmitted over stdout by the forked process.
- Author:
- Kristian Rosenvold
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForkClient
public ForkClient(ReporterFactory providerReporterFactory,
java.util.Properties testVmSystemProperties)
consumeLine
public void consumeLine(java.lang.String s)
- Specified by:
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer
consumeMultiLineContent
public void consumeMultiLineContent(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
getReporter
public RunListener getReporter(java.lang.Integer channelNumber)
- Used when getting reporters on the plugin side of a fork.
- Parameters:
channelNumber - The logical channel number
- Returns:
- A mock provider reporter
close
public void close()
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.