groovy.lang.GroovyObject, SourceAnalyzerpublic class FilesystemSourceAnalyzer extends AbstractSourceAnalyzer implements groovy.lang.GroovyObject
| Constructor | Description |
|---|---|
FilesystemSourceAnalyzer() |
| Modifier and Type | Method | Description |
|---|---|---|
Results |
analyze(RuleSet ruleSet) |
|
String |
getBaseDirectory() |
|
static String |
getDEFAULT_INCLUDES() |
|
String |
getExcludes() |
|
String |
getIncludes() |
|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
static String |
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) |
collectViolationspublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectgetMetaClass in class AbstractSourceAnalyzerpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectsetMetaClass in class AbstractSourceAnalyzerpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectinvokeMethod in class AbstractSourceAnalyzerpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class AbstractSourceAnalyzerpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class AbstractSourceAnalyzerpublic static String getSEP()
public static String 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 Results analyze(RuleSet ruleSet)
analyze in interface SourceAnalyzerpublic List getSourceDirectories()
getSourceDirectories in interface SourceAnalyzerprotected boolean matches(SourceCode sourceFile)
protected void initializeWildcardPatterns()
Copyright © 2019. All rights reserved.