org.apache.maven.surefire.report
Class ReporterManagerFactory

java.lang.Object
  extended by org.apache.maven.surefire.report.ReporterManagerFactory
All Implemented Interfaces:
ReporterFactory

public class ReporterManagerFactory
extends java.lang.Object
implements ReporterFactory

Note; this class contains "old" and "new" style instantiation, "old" style can be removed once we build 2.7.X + with 2.7


Constructor Summary
ReporterManagerFactory(java.lang.ClassLoader surefireClassLoader, ReporterConfiguration reporterConfiguration)
           
 
Method Summary
 RunResult close()
           
 Reporter createReporter()
          Creates a reporter.
 RunStatistics getGlobalRunStatistics()
           
protected  java.util.List instantiateReportsNewStyle(java.util.List reportDefinitions, ReporterConfiguration reporterConfiguration, java.lang.ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReporterManagerFactory

public ReporterManagerFactory(java.lang.ClassLoader surefireClassLoader,
                              ReporterConfiguration reporterConfiguration)
Method Detail

getGlobalRunStatistics

public RunStatistics getGlobalRunStatistics()
Specified by:
getGlobalRunStatistics in interface ReporterFactory

createReporter

public Reporter createReporter()
Description copied from interface: ReporterFactory
Creates a reporter. The reporter is a singleton that is expected to be used in the provider.

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

close

public RunResult close()
Specified by:
close in interface ReporterFactory

instantiateReportsNewStyle

protected java.util.List instantiateReportsNewStyle(java.util.List reportDefinitions,
                                                    ReporterConfiguration reporterConfiguration,
                                                    java.lang.ClassLoader classLoader)


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