org.codenarc.analyzer
Class DirectorySourceAnalyzer

java.lang.Object
  extended by org.codenarc.analyzer.BaseSourceAnalyzer
      extended by org.codenarc.analyzer.DirectorySourceAnalyzer
All Implemented Interfaces:
groovy.lang.GroovyObject, SourceAnalyzer

public class DirectorySourceAnalyzer
extends BaseSourceAnalyzer
implements groovy.lang.GroovyObject


Constructor Summary
DirectorySourceAnalyzer()
           
 
Method Summary
 Results analyze(RuleSet ruleSet)
           
 String getApplyToFileNames()
           
 String getApplyToFilesMatching()
           
 String getBaseDirectory()
           
 String getDoNotApplyToFileNames()
           
 String getDoNotApplyToFilesMatching()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
static Object getSEP()
           
 List getSourceDirectories()
           
 Object invokeMethod(String method, Object arguments)
           
 void setApplyToFileNames(String value)
           
 void setApplyToFilesMatching(String value)
           
 void setBaseDirectory(String value)
           
 void setDoNotApplyToFileNames(String value)
           
 void setDoNotApplyToFilesMatching(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setSourceDirectories(List value)
           
 
Methods inherited from class org.codenarc.analyzer.BaseSourceAnalyzer
collectViolations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectorySourceAnalyzer

public DirectorySourceAnalyzer()
Method Detail

getMetaClass

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

setMetaClass

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

invokeMethod

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

getProperty

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

setProperty

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

getSEP

public static Object getSEP()

getBaseDirectory

public String getBaseDirectory()

setBaseDirectory

public void setBaseDirectory(String value)

getSourceDirectories

public List getSourceDirectories()
Specified by:
getSourceDirectories in interface SourceAnalyzer

setSourceDirectories

public void setSourceDirectories(List value)

getApplyToFilesMatching

public String getApplyToFilesMatching()

setApplyToFilesMatching

public void setApplyToFilesMatching(String value)

getDoNotApplyToFilesMatching

public String getDoNotApplyToFilesMatching()

setDoNotApplyToFilesMatching

public void setDoNotApplyToFilesMatching(String value)

getApplyToFileNames

public String getApplyToFileNames()

setApplyToFileNames

public void setApplyToFileNames(String value)

getDoNotApplyToFileNames

public String getDoNotApplyToFileNames()

setDoNotApplyToFileNames

public void setDoNotApplyToFileNames(String value)

analyze

public Results analyze(RuleSet ruleSet)
Specified by:
analyze in interface SourceAnalyzer


Copyright © 2012. All Rights Reserved.