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.lang.String sourceDirectory,
java.util.ResourceBundle bundle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.pmd.ReportListener |
ruleViolationAdded |
PmdReportListener
public PmdReportListener(org.apache.maven.doxia.sink.Sink sink,
java.lang.String sourceDirectory,
java.util.ResourceBundle bundle)
ruleViolationAdded
public void ruleViolationAdded(net.sourceforge.pmd.RuleViolation ruleViolation)
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)
endFile
public void endFile(java.io.File file)
endDocument
public void endDocument()
getXrefLocation
public java.lang.String getXrefLocation()
setXrefLocation
public void setXrefLocation(java.lang.String xrefLocation)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.