org.apache.maven.plugin.pmd
Class PmdReportListener

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

public class PmdReportListener
extends Object
implements ReportListener

Handle events from PMD, converting them into Doxia events.

Version:
$Id: PmdReportListener.html 816691 2012-05-08 15:16:42Z hboutemy $
Author:
Brett Porter

Constructor Summary
PmdReportListener(Sink sink, ResourceBundle bundle, boolean aggregate)
           
 
Method Summary
 void beginDocument()
           
 void beginFile(File file, PmdFileInfo finfo)
           
 void endDocument()
           
 void endFile(File file)
           
 void metricAdded(Metric metric)
          
 void ruleViolationAdded(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(Sink sink,
                         ResourceBundle bundle,
                         boolean aggregate)
Method Detail

ruleViolationAdded

public void ruleViolationAdded(IRuleViolation ruleViolation)

Specified by:
ruleViolationAdded in interface ReportListener

metricAdded

public void metricAdded(Metric metric)

Specified by:
metricAdded in interface 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-2011 The Apache Software Foundation. All Rights Reserved.