org.apache.maven.surefire.report
Class ReporterManagerFactory
java.lang.Object
org.apache.maven.surefire.report.ReporterManagerFactory
- All Implemented Interfaces:
- ReporterFactory
public class ReporterManagerFactory
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reportDefinitions
protected final List reportDefinitions
surefireClassLoader
protected final ClassLoader surefireClassLoader
globalRunStatistics
protected final RunStatistics globalRunStatistics
first
protected RunReporter first
lock
protected final Object lock
ReporterManagerFactory
public ReporterManagerFactory(List reportDefinitions,
ClassLoader surefireClassLoader,
ReporterConfiguration reporterConfiguration)
ReporterManagerFactory
public ReporterManagerFactory(ClassLoader surefireClassLoader,
ReporterConfiguration reporterConfiguration)
getGlobalRunStatistics
public RunStatistics getGlobalRunStatistics()
- Specified by:
getGlobalRunStatistics
in interface ReporterFactory
createReporter
public Reporter createReporter()
- Description copied from interface:
ReporterFactory
- Creates a (non-thread-safe) reporter
- Specified by:
createReporter
in interface ReporterFactory
- Returns:
- A reporter instance
close
public RunResult close()
- Specified by:
close
in interface ReporterFactory
instantiateReportsNewStyle
protected List instantiateReportsNewStyle(List reportDefinitions,
ReporterConfiguration reporterConfiguration,
ClassLoader classLoader)
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.