Package net.sourceforge.pmd.ant
Class Formatter
- java.lang.Object
-
- net.sourceforge.pmd.ant.Formatter
-
public class Formatter extends Object
Part of PMD Ant task configuration. Setters of this class are interpreted by Ant as properties settable in the XML. This is therefore published API.This class is used to configure a specific
Rendererfor outputting the violations. This is called a formatter in PMD Ant task configuration and might look like this:<pmd> <formatter type="html" toFile="${build}/pmd_report.html"/> </pmd>- See Also:
PMDTask.addFormatter(Formatter)
-
-
Constructor Summary
Constructors Constructor Description Formatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfiguredParam(org.apache.tools.ant.types.Parameter parameter)voidsetShowSuppressed(boolean value)voidsetToConsole(boolean toConsole)voidsetToFile(File toFile)voidsetType(String type)StringtoString()
-
-
-
Method Detail
-
setShowSuppressed
public void setShowSuppressed(boolean value)
-
setType
public void setType(String type)
-
setToFile
public void setToFile(File toFile)
-
setToConsole
public void setToConsole(boolean toConsole)
-
addConfiguredParam
public void addConfiguredParam(org.apache.tools.ant.types.Parameter parameter)
-
-