@Mojo(name="report", inheritByDefault=false) @Execute(lifecycle="surefire", phase=TEST) public class SurefireReportMojo extends AbstractSurefireReportMojo
outputDirectory, project, siteRenderer
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
Constructor and Description |
---|
SurefireReportMojo() |
Modifier and Type | Method and Description |
---|---|
protected LocalizedProperties |
getBundle(Locale locale,
ClassLoader resourceBundleClassLoader) |
String |
getDescription() |
String |
getOutputName() |
protected File |
getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
Gets the default surefire reports directory for the specified project.
|
String |
getTitle() |
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.
|
void |
setDescription(String description) |
void |
setTitle(String title) |
canGenerateReport, executeReport, getConsoleLogger, getDescription, getName
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
protected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
AbstractSurefireReportMojo
getSurefireReportsDirectory
in class AbstractSurefireReportMojo
subProject
- the project to query.public String getOutputName()
AbstractSurefireReportMojo
getOutputName
in interface MavenReport
getOutputName
in class AbstractSurefireReportMojo
protected LocalizedProperties getBundle(Locale locale, ClassLoader resourceBundleClassLoader)
getBundle
in class AbstractSurefireReportMojo
protected boolean isSkipped()
AbstractSurefireReportMojo
isSkipped
in class AbstractSurefireReportMojo
true
if and only if the report should be generated.protected boolean isGeneratedWhenNoResults()
AbstractSurefireReportMojo
isGeneratedWhenNoResults
in class AbstractSurefireReportMojo
true
if and only if the report should be generated when there are no result files at all.public void setTitle(String title)
setTitle
in class AbstractSurefireReportMojo
public String getTitle()
getTitle
in class AbstractSurefireReportMojo
public void setDescription(String description)
setDescription
in class AbstractSurefireReportMojo
public String getDescription()
getDescription
in class AbstractSurefireReportMojo
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.