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
Renderer
for 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 void
addConfiguredParamβ(org.apache.tools.ant.types.Parameter parameter)
void
setShowSuppressedβ(boolean value)
void
setToConsoleβ(boolean toConsole)
void
setToFileβ(File toFile)
void
setTypeβ(String type)
String
toString()
-
-
-
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)
-
-