org.apache.maven.plugin.pmd

Class PmdReport

public class PmdReport extends AbstractPmdReport

Implement the PMD report.

Version: $Id: PmdReport.java,v 1.3 2005/02/23 00:08:53 brett Exp $

Author: Brett Porter

UNKNOWN: pmd needs to support the multiple source roots

Method Summary
RenderercreateRenderer()
Create and return the correct renderer for the output type.
voidexecuteReport(Locale locale)
StringgetDescription(Locale locale)
StringgetName(Locale locale)
StringgetOutputName()
PMDgetPMD()
Constructs the PMD class, passing it an argument that configures the target JDK.

Method Detail

createRenderer

public final Renderer createRenderer()
Create and return the correct renderer for the output type.

Returns: the renderer based on the configured output

Throws: org.apache.maven.reporting.MavenReportException if no renderer found for the output type

executeReport

public void executeReport(Locale locale)

See Also: org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale)

getDescription

public String getDescription(Locale locale)

See Also: org.apache.maven.reporting.MavenReport#getDescription(java.util.Locale)

getName

public String getName(Locale locale)

See Also: org.apache.maven.reporting.MavenReport#getName(java.util.Locale)

getOutputName

public String getOutputName()

See Also: org.apache.maven.reporting.MavenReport#getOutputName()

getPMD

public PMD getPMD()
Constructs the PMD class, passing it an argument that configures the target JDK.

Returns: the resulting PMD

Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.