org.apache.maven.surefire.booter
Class ForkingReporterFactory

java.lang.Object
  extended by org.apache.maven.surefire.booter.ForkingReporterFactory
All Implemented Interfaces:
ReporterFactory

public class ForkingReporterFactory
extends Object
implements ReporterFactory

Creates ForkingReporters, which are typically one instance per TestSet or thread. This factory is only used inside forks.

Author:
Kristian Rosenvold

Constructor Summary
ForkingReporterFactory(Boolean trimstackTrace, PrintStream originalSystemOut)
           
 
Method Summary
 RunResult close()
          Closes the factory, freeing resources allocated in the factory.
 RunListener createReporter()
          Creates a reporter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkingReporterFactory

public ForkingReporterFactory(Boolean trimstackTrace,
                              PrintStream originalSystemOut)
Method Detail

createReporter

public RunListener createReporter()
Description copied from interface: ReporterFactory
Creates a reporter.

Specified by:
createReporter in interface ReporterFactory
Returns:
A reporter instance

close

public RunResult close()
Description copied from interface: ReporterFactory
Closes the factory, freeing resources allocated in the factory.

Specified by:
close in interface ReporterFactory
Returns:
The run result


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