Class CPDConfiguration


  • public class CPDConfiguration
    extends AbstractConfiguration
    Author:
    Brian Remedios, Romain Pelisse - <belaran@gmail.com>
    • Constructor Detail

      • CPDConfiguration

        public CPDConfiguration()
    • Method Detail

      • postContruct

        public void postContruct()
      • getRenderers

        public static String[] getRenderers()
      • getLanguageFromString

        public static Language getLanguageFromString​(String languageString)
      • setSystemProperties

        public static void setSystemProperties​(CPDConfiguration configuration)
      • getLanguage

        public Language getLanguage()
      • setLanguage

        public void setLanguage​(Language language)
      • getMinimumTileSize

        public int getMinimumTileSize()
      • setMinimumTileSize

        public void setMinimumTileSize​(int minimumTileSize)
      • isSkipDuplicates

        public boolean isSkipDuplicates()
      • setSkipDuplicates

        public void setSkipDuplicates​(boolean skipDuplicates)
      • getRendererName

        public String getRendererName()
      • setRendererName

        public void setRendererName​(String rendererName)
      • isIgnoreLiterals

        public boolean isIgnoreLiterals()
      • setIgnoreLiterals

        public void setIgnoreLiterals​(boolean ignoreLiterals)
      • isIgnoreIdentifiers

        public boolean isIgnoreIdentifiers()
      • setIgnoreIdentifiers

        public void setIgnoreIdentifiers​(boolean ignoreIdentifiers)
      • isIgnoreAnnotations

        public boolean isIgnoreAnnotations()
      • setIgnoreAnnotations

        public void setIgnoreAnnotations​(boolean ignoreAnnotations)
      • isIgnoreUsings

        public boolean isIgnoreUsings()
      • setIgnoreUsings

        public void setIgnoreUsings​(boolean ignoreUsings)
      • isIgnoreLiteralSequences

        public boolean isIgnoreLiteralSequences()
      • setIgnoreLiteralSequences

        public void setIgnoreLiteralSequences​(boolean ignoreLiteralSequences)
      • isSkipLexicalErrors

        public boolean isSkipLexicalErrors()
      • setSkipLexicalErrors

        public void setSkipLexicalErrors​(boolean skipLexicalErrors)
      • getFiles

        public List<File> getFiles()
      • setFiles

        public void setFiles​(List<File> files)
      • getFileListPath

        public String getFileListPath()
      • setFileListPath

        public void setFileListPath​(String fileListPath)
      • getURI

        public String getURI()
      • setURI

        public void setURI​(String uri)
      • getExcludes

        public List<File> getExcludes()
      • setExcludes

        public void setExcludes​(List<File> excludes)
      • isNonRecursive

        public boolean isNonRecursive()
      • setNonRecursive

        public void setNonRecursive​(boolean nonRecursive)
      • isHelp

        public boolean isHelp()
      • setHelp

        public void setHelp​(boolean help)
      • isNoSkipBlocks

        public boolean isNoSkipBlocks()
      • setNoSkipBlocks

        public void setNoSkipBlocks​(boolean noSkipBlocks)
      • getSkipBlocksPattern

        public String getSkipBlocksPattern()
      • setSkipBlocksPattern

        public void setSkipBlocksPattern​(String skipBlocksPattern)
      • isFailOnViolation

        public boolean isFailOnViolation()
      • setFailOnViolation

        public void setFailOnViolation​(boolean failOnViolation)
      • isDebug

        public boolean isDebug()
        Description copied from class: AbstractConfiguration
        Return the debug indicator. If this value is true then PMD will log debug information.
        Overrides:
        isDebug in class AbstractConfiguration
        Returns:
        true if debug logging is enabled, false otherwise.