@Mojo(name="cpd", threadSafe=true) public class CpdReport extends AbstractPmdReport
See Finding duplicated code for more details.
aggregate, excludeFromFailureFile, filesToProcess, format, includeTests, includeXmlInReports, session, showPmdLog, skipEmptyReport, targetDirectory
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, 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() |
canGenerateReportInternal, determineCurrentRootLogLevel, getAggregatedProjects, getFilesToProcess, getMojoExecution, getProject, getReactorProjects, getToolchain, isAggregator, isXml
closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
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() throws org.apache.maven.reporting.MavenReportException
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
public String getOutputName()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.