public abstract class AbstractReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
excludes
A list of class files to exclude from the report.
|
protected ExecutionDataStore |
executionDataStore |
protected List<String> |
includes
A list of class files to include in the report.
|
protected String |
outputEncoding
Encoding of the generated reports.
|
protected org.apache.maven.project.MavenProject |
project
Maven project.
|
protected SessionInfoStore |
sessionInfoStore |
protected org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
Doxia Site Renderer.
|
protected boolean |
skip
Flag used to suppress execution.
|
protected String |
sourceEncoding
Encoding of the source files.
|
| Constructor and Description |
|---|
AbstractReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected void |
checkForMissingDebugInformation(ICoverageNode node) |
protected void |
createReport(IReportGroupVisitor visitor) |
protected IReportVisitor |
createVisitor(Locale locale) |
void |
execute()
This method is called when the report generation is invoked directly as a
standalone Mojo.
|
protected void |
executeReport(Locale locale) |
protected List<File> |
getCompileSourceRoots() |
protected abstract File |
getDataFile() |
String |
getDescription(Locale locale) |
protected List<String> |
getExcludes()
Returns the list of class files to exclude from the report.
|
protected List<String> |
getIncludes()
Returns the list of class files to include in the report.
|
abstract String |
getName(Locale locale) |
protected abstract String |
getOutputDirectory() |
protected abstract File |
getOutputDirectoryFile() |
abstract String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
boolean |
isExternalReport() |
protected void |
loadExecutionData() |
protected File |
resolvePath(String path) |
abstract void |
setReportOutputDirectory(File reportOutputDirectory) |
closeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactoryprotected String outputEncoding
protected String sourceEncoding
protected List<String> includes
protected List<String> excludes
protected boolean skip
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
protected SessionInfoStore sessionInfoStore
protected ExecutionDataStore executionDataStore
public abstract String getOutputName()
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportisExternalReport in class org.apache.maven.reporting.AbstractMavenReportprotected abstract String getOutputDirectory()
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportprotected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReportprotected List<String> getIncludes()
protected List<String> getExcludes()
public abstract void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportsetReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.plugin.MojoExecutionExceptionprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionprotected void loadExecutionData()
throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportExceptionprotected void createReport(IReportGroupVisitor visitor) throws IOException
IOExceptionprotected void checkForMissingDebugInformation(ICoverageNode node)
protected IReportVisitor createVisitor(Locale locale) throws IOException
IOExceptionprotected abstract File getDataFile()
protected abstract File getOutputDirectoryFile()
Copyright © 2013. All rights reserved.