net.sourceforge.pmd
Interface ReportListener

All Known Implementing Classes:
SynchronizedReportListener

public interface ReportListener

Listener to be informed about found violations. Note: Suppressed violations are not reported to this listener.


Method Summary
 void metricAdded(Metric metric)
          A new metric point has been reported.
 void ruleViolationAdded(RuleViolation ruleViolation)
          A new violation has been found.
 

Method Detail

ruleViolationAdded

void ruleViolationAdded(RuleViolation ruleViolation)
A new violation has been found.

Parameters:
ruleViolation - the found violation.

metricAdded

void metricAdded(Metric metric)
A new metric point has been reported.

Parameters:
metric - the metric


Copyright © 2002-2015 InfoEther. All Rights Reserved.