org.apache.maven.plugin.pmd
Class PmdReportListener

java.lang.Object
  extended by org.apache.maven.plugin.pmd.PmdReportListener
All Implemented Interfaces:
net.sourceforge.pmd.ReportListener

public class PmdReportListener
extends Object
implements net.sourceforge.pmd.ReportListener

Handle events from PMD, converting them into Doxia events.

Version:
$Id: PmdReportListener.html 816688 2012-05-08 15:14:44Z hboutemy $
Author:
Brett Porter

Constructor Summary
PmdReportListener(org.apache.maven.doxia.sink.Sink sink, ResourceBundle bundle, boolean aggregate)
           
 
Method Summary
 void beginDocument()
           
 void beginFile(File file, PmdFileInfo finfo)
           
 void endDocument()
           
 void endFile(File file)
           
 void metricAdded(net.sourceforge.pmd.stat.Metric metric)
          
 void ruleViolationAdded(net.sourceforge.pmd.IRuleViolation ruleViolation)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdReportListener

public PmdReportListener(org.apache.maven.doxia.sink.Sink sink,
                         ResourceBundle bundle,
                         boolean aggregate)
Method Detail

ruleViolationAdded

public void ruleViolationAdded(net.sourceforge.pmd.IRuleViolation ruleViolation)

Specified by:
ruleViolationAdded in interface net.sourceforge.pmd.ReportListener

metricAdded

public void metricAdded(net.sourceforge.pmd.stat.Metric metric)

Specified by:
metricAdded in interface net.sourceforge.pmd.ReportListener

beginDocument

public void beginDocument()

beginFile

public void beginFile(File file,
                      PmdFileInfo finfo)

endFile

public void endFile(File file)

endDocument

public void endDocument()


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.