public abstract class AbstractSurefireReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
outputDirectory, project, siteRenderer| Constructor and Description |
|---|
AbstractSurefireReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
abstract String |
getOutputName() |
protected abstract File |
getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
Gets the default surefire reports directory for the specified project.
|
protected boolean |
isGeneratedWhenNoResults()
Whether the report should be generated when there are no test results.
|
protected boolean |
isSkipped()
Whether the report should be generated or not.
|
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectoryprotected boolean isSkipped()
true if and only if the report should be generated.protected boolean isGeneratedWhenNoResults()
true if and only if the report should be generated when there are no result files at all.public void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportprotected abstract File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
subProject - the project to query.public abstract String getOutputName()
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.