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
- Author:
- Kristian Rosenvold
|
Constructor Summary |
StartupReportConfiguration(boolean useFile,
boolean printSummary,
java.lang.String reportFormat,
boolean redirectTestOutputToFile,
boolean disableXmlReport,
java.io.File reportsDirectory,
boolean trimStackTrace,
java.lang.String reportNameSuffix,
java.lang.String configurationHash,
boolean requiresRunHistory)
|
| 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,
java.lang.String reportNameSuffix,
java.lang.String configurationHash,
boolean requiresRunHistory)
defaultValue
public static StartupReportConfiguration defaultValue()
defaultNoXml
public static StartupReportConfiguration defaultNoXml()
isUseFile
public boolean isUseFile()
isPrintSummary
public boolean isPrintSummary()
getReportFormat
public java.lang.String getReportFormat()
getReportNameSuffix
public java.lang.String getReportNameSuffix()
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()
instantiateConsoleOutputFileReporter
public Reporter instantiateConsoleOutputFileReporter(java.io.PrintStream originalSystemOut)
instantiateStatisticsReporter
public StatisticsReporter instantiateStatisticsReporter()
getStatisticsFile
public java.io.File getStatisticsFile()
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()
getConfigurationHash
public java.lang.String getConfigurationHash()
isRequiresRunHistory
public boolean isRequiresRunHistory()
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.