public class PMDTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
PMDTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredSourceLanguage(SourceLanguage version) |
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() |
java.lang.String |
getCacheLocation() |
org.apache.tools.ant.types.Path |
getClasspath() |
java.lang.String |
getEncoding() |
java.lang.String |
getFailuresPropertyName() |
java.util.List<org.apache.tools.ant.types.FileSet> |
getFilesets() |
java.util.List<Formatter> |
getFormatters() |
int |
getMaxRuleViolations() |
int |
getMinimumPriority() |
java.util.Collection<RuleSetWrapper> |
getNestedRules() |
java.lang.String |
getRulesetFiles() |
SourceLanguage |
getSourceLanguage() |
java.lang.String |
getSuppressMarker() |
int |
getThreads() |
boolean |
isFailOnError() |
boolean |
isFailOnRuleViolation() |
boolean |
isNoRuleSetCompatibility() |
boolean |
isShortFilenames() |
void |
setAuxClasspath(org.apache.tools.ant.types.Path auxClasspath) |
void |
setAuxClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setCacheLocation(java.lang.String cacheLocation) |
void |
setClasspath(org.apache.tools.ant.types.Path classpath) |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r) |
void |
setEncoding(java.lang.String sourceEncoding) |
void |
setFailOnError(boolean fail) |
void |
setFailOnRuleViolation(boolean fail) |
void |
setFailuresPropertyName(java.lang.String failuresPropertyName) |
void |
setMaxRuleViolations(int max) |
void |
setMinimumPriority(int minPriority) |
void |
setNoRuleSetCompatibility(boolean noRuleSetCompatibility) |
void |
setRuleSetFiles(java.lang.String ruleSets) |
void |
setShortFilenames(boolean reportShortNames) |
void |
setSuppressMarker(java.lang.String suppressMarker) |
void |
setThreads(int threads) |
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 execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setShortFilenames(boolean reportShortNames)
public void setSuppressMarker(java.lang.String suppressMarker)
public void setFailOnError(boolean fail)
public void setFailOnRuleViolation(boolean fail)
public void setMaxRuleViolations(int max)
public void setRuleSetFiles(java.lang.String ruleSets)
public void setEncoding(java.lang.String sourceEncoding)
public void setThreads(int threads)
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 addConfiguredSourceLanguage(SourceLanguage version)
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 addRuleset(RuleSetWrapper r)
public java.util.List<Formatter> getFormatters()
public java.util.List<org.apache.tools.ant.types.FileSet> getFilesets()
public boolean isFailOnError()
public boolean isFailOnRuleViolation()
public boolean isShortFilenames()
public java.lang.String getSuppressMarker()
public java.lang.String getRulesetFiles()
public java.lang.String getEncoding()
public int getThreads()
public int getMinimumPriority()
public int getMaxRuleViolations()
public java.lang.String getFailuresPropertyName()
public SourceLanguage getSourceLanguage()
public java.util.Collection<RuleSetWrapper> getNestedRules()
public boolean isNoRuleSetCompatibility()
public void setNoRuleSetCompatibility(boolean noRuleSetCompatibility)
public java.lang.String getCacheLocation()
public void setCacheLocation(java.lang.String cacheLocation)
Copyright © 2002–2017 PMD. All rights reserved.