Package net.sourceforge.pmd.ant
Class SourceLanguage
java.lang.Object
net.sourceforge.pmd.ant.SourceLanguage
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 -
Method Summary
Modifier and TypeMethodDescriptiongetName()This actually corresponds toLanguage.getId().voidvoidsetVersion(String version) toString()
-
Constructor Details
-
SourceLanguage
public SourceLanguage()
-
-
Method Details
-
getVersion
-
setVersion
-
getName
This actually corresponds toLanguage.getId(). -
setName
-
toString
-