org.apache.maven.plugin.pmd
Class PmdReportListener
java.lang.Object
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 853015 2013-03-04 21:10:54Z olamy $
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PmdReportListener
public PmdReportListener(Log log,
Sink sink,
ResourceBundle bundle,
boolean aggregate)
ruleViolationAdded
public void ruleViolationAdded(RuleViolation ruleViolation)
-
- Specified by:
ruleViolationAdded
in interface ReportListener
getViolations
public List<RuleViolation> getViolations()
metricAdded
public void metricAdded(Metric metric)
-
- Specified by:
metricAdded
in interface ReportListener
beginDocument
public void beginDocument()
endDocument
public void endDocument()
throws IOException
- Throws:
IOException
setFiles
public void setFiles(Map<File,PmdFileInfo> files)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.