org.apache.maven.surefire.report
Interface ReporterFactory

All Known Implementing Classes:
ReporterManagerFactory

public interface ReporterFactory

Author:
Kristian Rosenvold

Method Summary
 RunResult close()
           
 DirectConsoleReporter createConsoleReporter()
          Creates a ConsoleReporter, that allows providers to write messages to the running maven console.
 RunListener createReporter()
          Creates a reporter.
 RunStatistics getGlobalRunStatistics()
           
 

Method Detail

getGlobalRunStatistics

RunStatistics getGlobalRunStatistics()

createReporter

RunListener createReporter()
Creates a reporter. The reporter is a singleton that is expected to be used in the provider.

Returns:
A reporter instance

createConsoleReporter

DirectConsoleReporter createConsoleReporter()
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.

Returns:
a ConsoleReporter

close

RunResult close()


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