public class PmdReportListener extends Object implements ReportListener
| Constructor and Description |
|---|
PmdReportListener() |
| Modifier and Type | Method and Description |
|---|---|
Report |
asReport()
Create a new single report with all violations for further rendering into other formats than HTML.
|
List<RuleViolation> |
getViolations() |
boolean |
hasViolations() |
void |
metricAdded(Metric metric) |
void |
ruleViolationAdded(RuleViolation ruleViolation) |
public void ruleViolationAdded(RuleViolation ruleViolation)
ruleViolationAdded in interface ReportListenerpublic List<RuleViolation> getViolations()
public boolean hasViolations()
public Report asReport()
public void metricAdded(Metric metric)
metricAdded in interface ReportListenerCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.