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 StringgetName()This actually corresponds toLanguage.getId().StringgetVersion()voidsetName(String name)voidsetVersion(String version)StringtoString()
-