Package org.apache.maven.plugins.pmd
Class CpdReportGenerator
java.lang.Object
org.apache.maven.plugins.pmd.CpdReportGenerator
Class that generated the CPD report.
- Version:
- $Id$
- Author:
- mperham
-
Constructor Summary
ConstructorsConstructorDescriptionCpdReportGenerator
(Sink sink, Map<File, PmdFileInfo> fileMap, ResourceBundle bundle, boolean aggregate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method that generates the start of the CPD report.void
generate
(List<Duplication> duplications) Method that generates the contents of the CPD report
-
Constructor Details
-
CpdReportGenerator
public CpdReportGenerator(Sink sink, Map<File, PmdFileInfo> fileMap, ResourceBundle bundle, boolean aggregate)
-
-
Method Details
-
beginDocument
public void beginDocument()Method that generates the start of the CPD report. -
generate
Method that generates the contents of the CPD report- Parameters:
duplications
- the found duplications
-