View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd;
5   
6   import net.sourceforge.pmd.stat.Metric;
7   
8   public interface ReportListener {
9       void ruleViolationAdded(RuleViolation ruleViolation);
10  
11      void metricAdded(Metric metric);
12  }