public abstract class AbstractSurefireReport
extends org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteTool
Modifier | Constructor and Description |
---|---|
protected |
AbstractSurefireReport(org.codehaus.plexus.i18n.I18N i18n) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
void |
executeReport(Locale locale) |
protected ConsoleLogger |
getConsoleLogger() |
String |
getDescription(Locale locale) |
protected org.codehaus.plexus.i18n.I18N |
getI18N(Locale locale) |
protected abstract String |
getI18Nsection() |
protected String |
getI18nString(Locale locale,
String key) |
String |
getName(Locale locale) |
abstract String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected List<org.apache.maven.project.MavenProject> |
getReactorProjects() |
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, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
protected AbstractSurefireReport(org.codehaus.plexus.i18n.I18N i18n)
protected 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)
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
protected abstract File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
subProject
- the project to query.protected String getI18nString(Locale locale, String key)
locale
- the localekey
- the key to search foprotected org.codehaus.plexus.i18n.I18N getI18N(Locale locale)
locale
- the localeprotected abstract String getI18Nsection()
public abstract String getOutputName()
protected final ConsoleLogger getConsoleLogger()
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
protected List<org.apache.maven.project.MavenProject> getReactorProjects()
Copyright © 2004–2025 The Apache Software Foundation. All rights reserved.