|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugin.pmd.AbstractPmdReport
public abstract class AbstractPmdReport
Base class for the PMD reports.
Field Summary | |
---|---|
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 MavenProject |
project
The project to analyse. |
protected List |
reactorProjects
The projects in the reactor for aggregation report. |
protected File |
targetDirectory
The output directory for the intermediate XML report. |
Fields inherited from interface org.apache.maven.reporting.MavenReport |
---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractPmdReport()
|
Method Summary | |
---|---|
boolean |
canGenerateReport()
|
protected String |
constructXRefLocation(boolean test)
|
protected Map |
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 MavenProject |
getProject()
|
protected Renderer |
getSiteRenderer()
|
protected String |
getSourceEncoding()
|
protected boolean |
isHtml()
|
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
---|
closeReport, execute, executeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.reporting.MavenReport |
---|
getDescription, getName, getOutputName |
Field Detail |
---|
protected File targetDirectory
protected File outputDirectory
protected MavenProject project
protected String format
protected boolean includeTests
protected boolean aggregate
protected List reactorProjects
Constructor Detail |
---|
public AbstractPmdReport()
Method Detail |
---|
protected MavenProject getProject()
getProject
in class AbstractMavenReport
protected Renderer getSiteRenderer()
getSiteRenderer
in class AbstractMavenReport
protected String constructXRefLocation(boolean test)
protected Map getFilesToProcess() throws IOException
IOException
protected boolean isHtml()
public boolean canGenerateReport()
canGenerateReport
in interface MavenReport
canGenerateReport
in class AbstractMavenReport
protected String getOutputDirectory()
getOutputDirectory
in class AbstractMavenReport
protected String getSourceEncoding()
protected String getOutputEncoding()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |