|
|||||||||
| 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 java.lang.String |
format
Set the output format type, in addition to the HTML report. |
protected boolean |
includeTests
Run PMD on the tests |
protected java.lang.String |
outputDirectory
The output directory for the final HTML report. |
protected org.apache.maven.project.MavenProject |
project
The project to analyse. |
protected java.util.List |
reactorProjects
The projects in the reactor for aggregation report. |
protected java.io.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 java.lang.String |
constructXRefLocation(boolean test)
|
protected java.util.Map |
getFilesToProcess()
Convenience method to get the list of files where the PMD tool will be executed |
protected java.lang.String |
getOutputDirectory()
|
protected org.apache.maven.project.MavenProject |
getProject()
|
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer()
|
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 java.io.File targetDirectory
protected java.lang.String outputDirectory
protected org.apache.maven.project.MavenProject project
protected java.lang.String format
protected boolean includeTests
protected boolean aggregate
protected java.util.List reactorProjects
| Constructor Detail |
|---|
public AbstractPmdReport()
| Method Detail |
|---|
protected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportAbstractMavenReport.getProject()protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReportAbstractMavenReport.getSiteRenderer()protected java.lang.String constructXRefLocation(boolean test)
protected java.util.Map getFilesToProcess()
throws java.io.IOException
java.io.IOExceptionprotected boolean isHtml()
public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportAbstractMavenReport.canGenerateReport()protected java.lang.String getOutputDirectory()
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportAbstractMavenReport.getOutputDirectory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||