Class PMDTask

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PMDTask
    extends org.apache.tools.ant.Task
    • Constructor Detail

      • PMDTask

        public PMDTask()
    • Method Detail

      • 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
      • setShortFilenames

        public void setShortFilenames​(boolean reportShortNames)
      • setSuppressMarker

        public void setSuppressMarker​(java.lang.String suppressMarker)
      • 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 ruleSets)
      • setEncoding

        public void setEncoding​(java.lang.String sourceEncoding)
      • setThreads

        public void setThreads​(int threads)
      • 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)
      • addConfiguredSourceLanguage

        public void addConfiguredSourceLanguage​(SourceLanguage version)
      • 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)
      • getFormatters

        public java.util.List<Formatter> getFormatters()
      • getFilesets

        public java.util.List<org.apache.tools.ant.types.FileSet> getFilesets()
      • isFailOnError

        public boolean isFailOnError()
      • isFailOnRuleViolation

        public boolean isFailOnRuleViolation()
      • isShortFilenames

        public boolean isShortFilenames()
      • getSuppressMarker

        public java.lang.String getSuppressMarker()
      • getRulesetFiles

        public java.lang.String getRulesetFiles()
      • getEncoding

        public java.lang.String getEncoding()
      • getThreads

        public int getThreads()
      • getMinimumPriority

        public int getMinimumPriority()
      • getMaxRuleViolations

        public int getMaxRuleViolations()
      • getFailuresPropertyName

        public java.lang.String getFailuresPropertyName()
      • getNestedRules

        public java.util.Collection<RuleSetWrapper> getNestedRules()
      • isNoRuleSetCompatibility

        public boolean isNoRuleSetCompatibility()
      • setNoRuleSetCompatibility

        public void setNoRuleSetCompatibility​(boolean noRuleSetCompatibility)
      • getCacheLocation

        public java.lang.String getCacheLocation()
      • setCacheLocation

        public void setCacheLocation​(java.lang.String cacheLocation)
      • isNoCache

        public boolean isNoCache()
      • setNoCache

        public void setNoCache​(boolean noCache)