@Mojo(name="cpd",
threadSafe=true)
public class CpdReport
extends AbstractPmdReport
See Finding duplicated code for more details.
aggregate, excludeFromFailureFile, filesToProcess, format, includeTests, includeXmlInSite, reactorProjects, session, showPmdLog, skipEmptyReport, targetDirectorylocalRepository, outputDirectory, project, remoteRepositories, siteRenderer, siteTool| 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) |
protected String |
getI18nString(Locale locale,
String key) |
String |
getName(Locale locale) |
String |
getOutputName() |
constructXRefLocation, determineCurrentRootLogLevel, getAggregatedProjects, getFilesToProcess, getProject, getToolchain, isAggregator, isXmlcloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectoryprotected String getI18nString(Locale locale, String key)
locale - The localekey - The key to search forpublic void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionpublic boolean canGenerateReport()
AbstractPmdReportcanGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class AbstractPmdReportpublic String getOutputName()
@Deprecated public net.sourceforge.pmd.cpd.renderer.CPDRenderer createRenderer() throws org.apache.maven.reporting.MavenReportException
CpdExecutor.createRenderer(String, String) instead.org.apache.maven.reporting.MavenReportException - if no renderer found for the output typeCopyright © 2005–2023 The Apache Software Foundation. All rights reserved.