public class ForkClient extends Object implements org.apache.maven.shared.utils.cli.StreamConsumer
Constructor and Description |
---|
ForkClient(DefaultReporterFactory defaultReporterFactory,
Properties testVmSystemProperties) |
ForkClient(DefaultReporterFactory defaultReporterFactory,
Properties testVmSystemProperties,
TestProvidingInputStream testProvidingInputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close(boolean hadTimeout) |
void |
consumeLine(String s) |
void |
consumeMultiLineContent(String s) |
StackTraceWriter |
getErrorInFork() |
RunListener |
getReporter(Integer channelNumber)
Used when getting reporters on the plugin side of a fork.
|
boolean |
isErrorInFork() |
boolean |
isSaidGoodBye() |
public ForkClient(DefaultReporterFactory defaultReporterFactory, Properties testVmSystemProperties)
public ForkClient(DefaultReporterFactory defaultReporterFactory, Properties testVmSystemProperties, TestProvidingInputStream testProvidingInputStream)
public void consumeLine(String s)
consumeLine
in interface org.apache.maven.shared.utils.cli.StreamConsumer
public void consumeMultiLineContent(String s) throws IOException
IOException
public RunListener getReporter(Integer channelNumber)
channelNumber
- The logical channel numberpublic void close(boolean hadTimeout)
public boolean isSaidGoodBye()
public StackTraceWriter getErrorInFork()
public boolean isErrorInFork()
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.