| Package | Description |
|---|---|
| org.apache.maven.plugins.pmd | |
| org.apache.maven.plugins.pmd.exec | |
| org.apache.maven.plugins.pmd.model |
| Modifier and Type | Method and Description |
|---|---|
protected List<Duplication> |
CpdViolationCheckMojo.getErrorDetails(File cpdFile)
Gets the attributes and text for the violation tag and puts them in a HashMap
|
protected ViolationDetails<Duplication> |
CpdViolationCheckMojo.newViolationDetailsInstance() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
CpdViolationCheckMojo.getPriority(Duplication errorDetail) |
boolean |
ExcludeDuplicationsFromFile.isExcludedFromFailure(Duplication errorDetail) |
protected void |
CpdViolationCheckMojo.printError(Duplication item,
String severity)
Formats the failure details and prints them as an INFO message
|
| Constructor and Description |
|---|
CpdReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
Map<File,PmdFileInfo> files,
Collection<Duplication> duplications,
boolean aggregate) |
| Modifier and Type | Method and Description |
|---|---|
List<Duplication> |
CpdResult.getDuplications() |
| Modifier and Type | Method and Description |
|---|---|
List<Duplication> |
CpdErrorDetail.getDuplications()
Method getDuplications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CpdErrorDetail.addDuplication(Duplication duplication)
Method addDuplication.
|
void |
CpdErrorDetail.removeDuplication(Duplication duplication)
Method removeDuplication.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CpdErrorDetail.setDuplications(List<Duplication> duplications)
Set the duplications field.
|
Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.