Class FilesystemSourceAnalyzer

java.lang.Object
org.codenarc.analyzer.AbstractSourceAnalyzer
org.codenarc.analyzer.FilesystemSourceAnalyzer
All Implemented Interfaces:
groovy.lang.GroovyObject, SourceAnalyzer

public class FilesystemSourceAnalyzer extends AbstractSourceAnalyzer
  • Constructor Details

    • FilesystemSourceAnalyzer

      public FilesystemSourceAnalyzer()
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      getMetaClass in class AbstractSourceAnalyzer
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      setMetaClass in class AbstractSourceAnalyzer
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
      Overrides:
      invokeMethod in class AbstractSourceAnalyzer
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
      Overrides:
      getProperty in class AbstractSourceAnalyzer
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
      Overrides:
      setProperty in class AbstractSourceAnalyzer
    • getSEP

      public static String getSEP()
    • getDEFAULT_INCLUDES

      public static String getDEFAULT_INCLUDES()
    • getBaseDirectory

      public String getBaseDirectory()
    • setBaseDirectory

      public void setBaseDirectory(String value)
    • getIncludes

      public String getIncludes()
    • setIncludes

      public void setIncludes(String value)
    • getExcludes

      public String getExcludes()
    • setExcludes

      public void setExcludes(String value)
    • analyze

      public Results analyze(RuleSet ruleSet)
    • getSourceDirectories

      public List getSourceDirectories()
    • matches

      protected boolean matches(SourceCode sourceFile)
    • initializeWildcardPatterns

      protected void initializeWildcardPatterns()