net.sourceforge.pmd.ant
Class PMDTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sourceforge.pmd.ant.PMDTask
- All Implemented Interfaces:
- java.lang.Cloneable
public class PMDTask
- extends org.apache.tools.ant.Task
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMDTask
public PMDTask()
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(org.apache.tools.ant.types.FileSet set)
addFormatter
public void addFormatter(Formatter f)
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path classpath)
getClasspath
public org.apache.tools.ant.types.Path getClasspath()
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
setAuxClasspath
public void setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath)
getAuxClasspath
public org.apache.tools.ant.types.Path getAuxClasspath()
createAuxClasspath
public org.apache.tools.ant.types.Path createAuxClasspath()
setAuxClasspathRef
public void setAuxClasspathRef(org.apache.tools.ant.types.Reference r)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
addRuleset
public void addRuleset(RuleSetWrapper r)