org.acm.seguin.pmd.ant
Class PMDTask
java.lang.Object
Task
org.acm.seguin.pmd.ant.PMDTask
public class PMDTask
- extends Task
Field Summary |
protected java.lang.String |
EOL
The end of line string for this machine. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOL
protected java.lang.String EOL
- The end of line string for this machine.
PMDTask
public PMDTask()
setShortFilenames
public void setShortFilenames(boolean value)
setFailOnError
public void setFailOnError(boolean fail)
setFailOnRuleViolation
public void setFailOnRuleViolation(boolean fail)
setPrintToConsole
public void setPrintToConsole(boolean printToConsole)
setRuleSetFiles
public void setRuleSetFiles(java.lang.String ruleSetFiles)
addFileset
public void addFileset(FileSet set)
addFormatter
public void addFormatter(Formatter f)
setClasspath
public void setClasspath(Path classpath)
getClasspath
public Path getClasspath()
createClasspath
public Path createClasspath()
setClasspathRef
public void setClasspathRef(Reference r)
execute
public void execute()
throws BuildException
- Throws:
BuildException