Package org.apache.maven.plugins.pmd
Class CpdReportGenerator
- java.lang.Object
-
- org.apache.maven.plugins.pmd.CpdReportGenerator
-
public class CpdReportGenerator extends java.lang.Object
Class that generated the CPD report.- Version:
- $Id$
- Author:
- mperham
-
-
Constructor Summary
Constructors Constructor Description CpdReportGenerator(Sink sink, java.util.Map<java.io.File,PmdFileInfo> fileMap, java.util.ResourceBundle bundle, boolean aggregate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginDocument()
Method that generates the start of the CPD report.void
generate(java.util.List<Duplication> duplications)
Method that generates the contents of the CPD report
-
-
-
Constructor Detail
-
CpdReportGenerator
public CpdReportGenerator(Sink sink, java.util.Map<java.io.File,PmdFileInfo> fileMap, java.util.ResourceBundle bundle, boolean aggregate)
-
-
Method Detail
-
beginDocument
public void beginDocument()
Method that generates the start of the CPD report.
-
generate
public void generate(java.util.List<Duplication> duplications)
Method that generates the contents of the CPD report- Parameters:
duplications
- the found duplications
-
-