Class CPDConfiguration


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

      • CPDConfiguration

        public CPDConfiguration()
    • Method Detail

      • setEncoding

        public void setEncoding​(String encoding)
      • 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)
      • setCPDRenderer

        public void setCPDRenderer​(CPDRenderer renderer)
      • 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)
      • 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)
      • getEncoding

        public String getEncoding()
      • 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)