net.sourceforge.pmd.ant.RuleSetWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pmd-ant Show documentation
Show all versions of pmd-ant Show documentation
Apache Ant integration for PMD.
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
/**
* 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 {@link net.sourceforge.pmd.lang.rule.RuleSet} as nested XML tags.
* It might look like this:
*
*
{@code
*
* rulesets/java/quickstart.xml
*
* }
*
* @see PMDTask#addRuleset(RuleSetWrapper)
*/
public class RuleSetWrapper {
private String file;
public final String getFile() {
return file;
}
public final void addText(String t) {
this.file = t;
}
}