| Package | Description |
|---|---|
| org.apache.maven.plugins.pmd | |
| org.apache.maven.plugins.pmd.model |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<Duplication> |
CpdViolationCheckMojo.getErrorDetails(java.io.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 | Description |
|---|---|---|
protected int |
CpdViolationCheckMojo.getPriority(Duplication errorDetail) |
|
boolean |
ExcludeDuplicationsFromFile.isExcludedFromFailure(Duplication errorDetail) |
|
protected void |
CpdViolationCheckMojo.printError(Duplication item,
java.lang.String severity) |
Formats the failure details and prints them as an INFO message
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Duplication> |
CpdErrorDetail.getDuplications() |
Method getDuplications.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CpdErrorDetail.addDuplication(Duplication duplication) |
Method addDuplication.
|
void |
CpdErrorDetail.removeDuplication(Duplication duplication) |
Method removeDuplication.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CpdErrorDetail.setDuplications(java.util.List<Duplication> duplications) |
Set the duplications field.
|
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.