public class PMDTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
PMDTask() |
Modifier and Type | Method and Description |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set) |
void |
addFormatter(Formatter f) |
void |
addRuleset(RuleSetWrapper r) |
org.apache.tools.ant.types.Path |
createAuxClasspath() |
org.apache.tools.ant.types.Path |
createClasspath() |
void |
execute() |
org.apache.tools.ant.types.Path |
getAuxClasspath() |
org.apache.tools.ant.types.Path |
getClasspath() |
void |
setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath) |
void |
setAuxClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setClasspath(org.apache.tools.ant.types.Path classpath) |
void |
setClasspathRef(org.apache.tools.ant.types.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) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setShortFilenames(boolean value)
public void setTargetJDK(java.lang.String value)
public void setExcludeMarker(java.lang.String value)
public void setFailOnError(boolean fail)
public void setFailOnRuleViolation(boolean fail)
public void setMaxRuleViolations(int max)
public void setRuleSetFiles(java.lang.String ruleSetFiles)
public void setEncoding(java.lang.String encoding)
public void setCpus(int cpus)
public void setFailuresPropertyName(java.lang.String failuresPropertyName)
public void setMinimumPriority(int minPriority)
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void addFormatter(Formatter f)
public void setClasspath(org.apache.tools.ant.types.Path classpath)
public org.apache.tools.ant.types.Path getClasspath()
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public void setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath)
public org.apache.tools.ant.types.Path getAuxClasspath()
public org.apache.tools.ant.types.Path createAuxClasspath()
public void setAuxClasspathRef(org.apache.tools.ant.types.Reference r)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void addRuleset(RuleSetWrapper r)