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, getSinkFactory
protected 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.MavenReport
isExternalReport
in class org.apache.maven.reporting.AbstractMavenReport
protected abstract String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer
in class org.apache.maven.reporting.AbstractMavenReport
protected List<String> getIncludes()
protected List<String> getExcludes()
public abstract void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory
in interface org.apache.maven.reporting.MavenReport
setReportOutputDirectory
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
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.MojoExecutionException
protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
protected void loadExecutionData() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
protected void createReport(IReportGroupVisitor visitor) throws IOException
IOException
protected void checkForMissingDebugInformation(ICoverageNode node)
protected IReportVisitor createVisitor(Locale locale) throws IOException
IOException
protected abstract File getDataFile()
protected abstract File getOutputDirectoryFile()
Copyright © 2013. All rights reserved.