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 |
ReporterManagerFactory
public ReporterManagerFactory(ClassLoader surefireClassLoader,
ReporterConfiguration reporterConfiguration)
getGlobalRunStatistics
public RunStatistics getGlobalRunStatistics()
- Specified by:
getGlobalRunStatistics
in interface ReporterFactory
createReporter
public RunListener 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 List instantiateReportsNewStyle(List reportDefinitions,
ReporterConfiguration reporterConfiguration,
ClassLoader classLoader)
createConsoleReporter
public DirectConsoleReporter createConsoleReporter()
- Description copied from interface:
ReporterFactory
- Creates a ConsoleReporter, that allows providers to write messages to the running maven console.
This output is not associated with any thread/test and appears immediately.
- Specified by:
createConsoleReporter
in interface ReporterFactory
- Returns:
- a ConsoleReporter
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.