public class FilesystemSourceAnalyzer extends AbstractSourceAnalyzer
Constructor and Description |
---|
FilesystemSourceAnalyzer() |
Modifier and Type | Method and Description |
---|---|
Results |
analyze(RuleSet ruleSet) |
String |
getBaseDirectory() |
static Object |
getDEFAULT_INCLUDES() |
String |
getExcludes() |
String |
getIncludes() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
static Object |
getSEP() |
List |
getSourceDirectories() |
protected void |
initializeWildcardPatterns() |
Object |
invokeMethod(String method,
Object arguments) |
protected boolean |
matches(SourceCode sourceFile) |
void |
setBaseDirectory(String value) |
void |
setExcludes(String value) |
void |
setIncludes(String value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
collectViolations
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
getMetaClass
in class AbstractSourceAnalyzer
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
in class AbstractSourceAnalyzer
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class AbstractSourceAnalyzer
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class AbstractSourceAnalyzer
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class AbstractSourceAnalyzer
public static Object getSEP()
public static Object getDEFAULT_INCLUDES()
public String getBaseDirectory()
public void setBaseDirectory(String value)
public String getIncludes()
public void setIncludes(String value)
public String getExcludes()
public void setExcludes(String value)
public List getSourceDirectories()
protected boolean matches(SourceCode sourceFile)
protected void initializeWildcardPatterns()
Copyright © 2022. All rights reserved.