public class PmdReport extends AbstractPmdReport
aggregate, format, includeTests, outputDirectory, project, reactorProjects, targetDirectory| Constructor and Description |
|---|
PmdReport() |
| Modifier and Type | Method and Description |
|---|---|
net.sourceforge.pmd.renderers.Renderer |
createRenderer()
Create and return the correct renderer for the output type.
|
void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
protected String |
getLocationTemp(String name)
Convenience method to get the location of the specified file name.
|
String |
getName(Locale locale) |
String |
getOutputName() |
net.sourceforge.pmd.PMD |
getPMD()
Constructs the PMD class, passing it an argument
that configures the target JDK.
|
void |
setRulesets(String[] rules) |
canGenerateReport, constructXRefLocation, getFilesToProcess, getOutputDirectory, getOutputEncoding, getProject, getSiteRenderer, getSourceEncoding, isHtmlcloseReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorypublic void setRulesets(String[] rules)
public void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionprotected String getLocationTemp(String name)
name - the name of the file whose location is to be resolvedpublic net.sourceforge.pmd.PMD getPMD()
throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException - if targetJdk is not supportedpublic String getOutputName()
public final net.sourceforge.pmd.renderers.Renderer createRenderer()
throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException - if no renderer found for the output typeCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.