org.apache.maven.surefire.booter
Class StartupReportConfiguration
java.lang.Object
org.apache.maven.surefire.booter.StartupReportConfiguration
public class StartupReportConfiguration
- extends java.lang.Object
All the parameters used to construct reporters
TODO: Move out of API module
- Author:
- Kristian Rosenvold
|
Constructor Summary |
StartupReportConfiguration(boolean useFile,
boolean printSummary,
java.lang.String reportFormat,
boolean redirectTestOutputToFile,
boolean disableXmlReport,
java.io.File reportsDirectory,
boolean trimStackTrace)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BRIEF_REPORT_FORMAT
public static final java.lang.String BRIEF_REPORT_FORMAT
- See Also:
- Constant Field Values
PLAIN_REPORT_FORMAT
public static final java.lang.String PLAIN_REPORT_FORMAT
- See Also:
- Constant Field Values
StartupReportConfiguration
public StartupReportConfiguration(boolean useFile,
boolean printSummary,
java.lang.String reportFormat,
boolean redirectTestOutputToFile,
boolean disableXmlReport,
java.io.File reportsDirectory,
boolean trimStackTrace)
defaultValue
public static StartupReportConfiguration defaultValue()
defaultNoXml
public static StartupReportConfiguration defaultNoXml()
isUseFile
public boolean isUseFile()
isPrintSummary
public boolean isPrintSummary()
getReportFormat
public java.lang.String getReportFormat()
isRedirectTestOutputToFile
public boolean isRedirectTestOutputToFile()
isDisableXmlReport
public boolean isDisableXmlReport()
getReportsDirectory
public java.io.File getReportsDirectory()
getXmlReporterName
public java.lang.String getXmlReporterName()
instantiateXmlReporter
public XMLReporter instantiateXmlReporter()
getFileReporter
public java.lang.String getFileReporter()
instantiateFileReporter
public AbstractFileReporter instantiateFileReporter()
getConsoleReporter
public java.lang.String getConsoleReporter()
- Returns the reporter that will write to the console
- Returns:
- a console reporter of null if no console reporting
instantiateConsoleReporter
public AbstractConsoleReporter instantiateConsoleReporter()
getConsoleOutputFileReporterName
public java.lang.String getConsoleOutputFileReporterName()
instantiateConsoleOutputFileReporterName
public Reporter instantiateConsoleOutputFileReporterName(java.io.PrintStream originalSystemOut)
getReports
public java.util.List getReports()
- A list of classnames representing runnable reports for this test-run.
- Returns:
- A list of strings, each string is a classname of a class
implementing the org.apache.maven.surefire.report.Reporter interface
getTestVmSystemProperties
public java.util.Properties getTestVmSystemProperties()
isTrimStackTrace
public boolean isTrimStackTrace()
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.