org.apache.maven.plugin.pmd
Class PmdReportListener
java.lang.Object
org.apache.maven.plugin.pmd.PmdReportListener
- All Implemented Interfaces:
- net.sourceforge.pmd.ReportListener
public class PmdReportListener
- extends java.lang.Object
- implements net.sourceforge.pmd.ReportListener
Handle events from PMD, converting them into Doxia events.
- Version:
- $Id: PmdReportListener.java,v 1.1.1.1 2005/02/17 07:16:22 brett Exp $
- Author:
- Brett Porter
Constructor Summary |
PmdReportListener(org.apache.maven.doxia.sink.Sink sink,
java.util.ResourceBundle bundle,
boolean aggregate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmdReportListener
public PmdReportListener(org.apache.maven.doxia.sink.Sink sink,
java.util.ResourceBundle bundle,
boolean aggregate)
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(java.io.File file,
PmdFileInfo finfo)
endFile
public void endFile(java.io.File file)
endDocument
public void endDocument()
Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.