Package net.sourceforge.pmd.ant
Class SourceLanguage
- java.lang.Object
-
- net.sourceforge.pmd.ant.SourceLanguage
-
public class SourceLanguage 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 the language and version to use. It might look like this:
<pmd> <sourceLanguage name="java" version="21"/> </pmd>
-
-
Constructor Summary
Constructors Constructor Description SourceLanguage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
This actually corresponds toLanguage.getId()
.String
getVersion()
void
setName(String name)
void
setVersion(String version)
String
toString()
-