groovy.lang.GroovyObject
, SourceAnalyzer
public 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) |
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 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 SourceAnalyzer
public List getSourceDirectories()
getSourceDirectories
in interface SourceAnalyzer
protected boolean matches(SourceCode sourceFile)
protected void initializeWildcardPatterns()
Copyright © 2019. All rights reserved.