net.sourceforge.pmd.ant
Class PMDTask

java.lang.Object
  extended by Task
      extended by net.sourceforge.pmd.ant.PMDTask

public class PMDTask
extends Task


Constructor Summary
PMDTask()
           
 
Method Summary
 void addFileset(FileSet set)
           
 void addFormatter(Formatter f)
           
 void addRuleset(RuleSetWrapper r)
           
 Path createAuxClasspath()
           
 Path createClasspath()
           
 void execute()
           
 Path getAuxClasspath()
           
 Path getClasspath()
           
 void setAuxClasspath(Path auxClasspath)
           
 void setAuxClasspathRef(Reference r)
           
 void setClasspath(Path classpath)
           
 void setClasspathRef(Reference r)
           
 void setCpus(int cpus)
           
 void setEncoding(java.lang.String encoding)
           
 void setExcludeMarker(java.lang.String value)
           
 void setFailOnError(boolean fail)
           
 void setFailOnRuleViolation(boolean fail)
           
 void setFailuresPropertyName(java.lang.String failuresPropertyName)
           
 void setMaxRuleViolations(int max)
           
 void setMinimumPriority(int minPriority)
           
 void setRuleSetFiles(java.lang.String ruleSetFiles)
           
 void setShortFilenames(boolean value)
           
 void setTargetJDK(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMDTask

public PMDTask()
Method Detail

setShortFilenames

public void setShortFilenames(boolean value)

setTargetJDK

public void setTargetJDK(java.lang.String value)

setExcludeMarker

public void setExcludeMarker(java.lang.String value)

setFailOnError

public void setFailOnError(boolean fail)

setFailOnRuleViolation

public void setFailOnRuleViolation(boolean fail)

setMaxRuleViolations

public void setMaxRuleViolations(int max)

setRuleSetFiles

public void setRuleSetFiles(java.lang.String ruleSetFiles)

setEncoding

public void setEncoding(java.lang.String encoding)

setCpus

public void setCpus(int cpus)

setFailuresPropertyName

public void setFailuresPropertyName(java.lang.String failuresPropertyName)

setMinimumPriority

public void setMinimumPriority(int minPriority)

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)

setAuxClasspath

public void setAuxClasspath(Path auxClasspath)

getAuxClasspath

public Path getAuxClasspath()

createAuxClasspath

public Path createAuxClasspath()

setAuxClasspathRef

public void setAuxClasspathRef(Reference r)

execute

public void execute()
             throws BuildException
Throws:
BuildException

addRuleset

public void addRuleset(RuleSetWrapper r)