@Mojo(name="cpd", threadSafe=true) public class CpdReport extends AbstractPmdReport
aggregate, excludeFromFailureFile, filesToProcess, format, includeTests, includeXmlInSite, outputDirectory, project, reactorProjects, session, showPmdLog, skipEmptyReport, targetDirectoryCATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE| Constructor and Description |
|---|
CpdReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
net.sourceforge.pmd.cpd.renderer.CPDRenderer |
createRenderer()
Deprecated.
Use
CpdExecutor.createRenderer(String, String) instead. |
void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
String |
getOutputName() |
constructXRefLocation, determineCurrentRootLogLevel, getFilesToProcess, getOutputDirectory, getOutputEncoding, getProject, getSiteRenderer, getSourceEncoding, getToolchain, isXmlcloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContextpublic void executeReport(Locale locale) throws MavenReportException
executeReport in class AbstractMavenReportMavenReportExceptionpublic boolean canGenerateReport()
AbstractPmdReportcanGenerateReport in interface MavenReportcanGenerateReport in class AbstractPmdReportpublic String getOutputName()
@Deprecated public net.sourceforge.pmd.cpd.renderer.CPDRenderer createRenderer() throws MavenReportException
CpdExecutor.createRenderer(String, String) instead.MavenReportException - if no renderer found for the output typeCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.