org.apache.maven.plugin.pmd
Class PmdReportGenerator

java.lang.Object
  extended by org.apache.maven.plugin.pmd.PmdReportGenerator

public class PmdReportGenerator
extends Object

Render the PMD violations into Doxia events.

Version:
$Id: PmdReportGenerator.java 1576478 2014-03-11 19:20:27Z dennisl $
Author:
Brett Porter

Constructor Summary
PmdReportGenerator(org.apache.maven.plugin.logging.Log log, org.apache.maven.doxia.sink.Sink sink, ResourceBundle bundle, boolean aggregate)
           
 
Method Summary
 void beginDocument()
           
 void endDocument()
           
 List<net.sourceforge.pmd.RuleViolation> getViolations()
           
 void render()
           
 void setFiles(Map<File,PmdFileInfo> files)
           
 void setViolations(Collection<net.sourceforge.pmd.RuleViolation> violations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdReportGenerator

public PmdReportGenerator(org.apache.maven.plugin.logging.Log log,
                          org.apache.maven.doxia.sink.Sink sink,
                          ResourceBundle bundle,
                          boolean aggregate)
Method Detail

setViolations

public void setViolations(Collection<net.sourceforge.pmd.RuleViolation> violations)

getViolations

public List<net.sourceforge.pmd.RuleViolation> getViolations()

beginDocument

public void beginDocument()

render

public void render()
            throws IOException
Throws:
IOException

endDocument

public void endDocument()
                 throws IOException
Throws:
IOException

setFiles

public void setFiles(Map<File,PmdFileInfo> files)


Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.