@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, targetDirectory
localRepository, outputDirectory, project, remoteRepositories, siteRenderer, siteTool
Constructor and Description |
---|
CpdReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
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, isXml
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory
protected 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.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
public boolean canGenerateReport()
AbstractPmdReport
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class AbstractPmdReport
public String getOutputName()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.