public abstract class AbstractPmdReport
extends org.apache.maven.reporting.AbstractMavenReport
Modifier and Type | Field and Description |
---|---|
protected boolean |
aggregate
Whether to build an aggregated report at the root, or build individual reports.
|
protected String |
format
Set the output format type, in addition to the HTML report.
|
protected boolean |
includeTests
Run PMD on the tests.
|
protected File |
outputDirectory
The output directory for the final HTML report.
|
protected org.apache.maven.project.MavenProject |
project
The project to analyse.
|
protected List<org.apache.maven.project.MavenProject> |
reactorProjects
The projects in the reactor for aggregation report.
|
protected File |
targetDirectory
The output directory for the intermediate XML report.
|
Constructor and Description |
---|
AbstractPmdReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
protected String |
constructXRefLocation(boolean test) |
protected Map<File,PmdFileInfo> |
getFilesToProcess()
Convenience method to get the list of files where the PMD tool will be executed
|
protected String |
getOutputDirectory() |
protected String |
getOutputEncoding()
Gets the effective reporting output files encoding.
|
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
protected String |
getSourceEncoding() |
protected boolean |
isHtml() |
closeReport, execute, executeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
protected File targetDirectory
protected File outputDirectory
protected org.apache.maven.project.MavenProject project
protected String format
protected boolean includeTests
protected boolean aggregate
protected List<org.apache.maven.project.MavenProject> reactorProjects
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 String constructXRefLocation(boolean test)
protected Map<File,PmdFileInfo> getFilesToProcess() throws IOException
IOException
protected boolean isHtml()
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
protected String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected String getSourceEncoding()
protected String getOutputEncoding()
null
.Copyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.