|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.analyzer.DirectorySourceAnalyzer
class DirectorySourceAnalyzer
SourceAnalyzer implementation that recursively processes files in the configured source directories.
Property Summary | |
---|---|
static def |
SEP
|
String |
applyToFileNames
Only analyze filenames matching this value. |
String |
applyToFilesMatching
Only analyze pathnames matching this regular expression. |
String |
baseDirectory
The base directory; the sourceDirectories are relative to this, if not null. |
String |
doNotApplyToFileNames
Do NOT analyze filenames matching this value. |
String |
doNotApplyToFilesMatching
Do NOT analyze pathnames matching this regular expression. |
List |
sourceDirectories
The list of source directories, relative to the baseDirectory if it is not null. |
Method Summary | |
---|---|
Results
|
analyze(RuleSet ruleSet)
Analyze the source with the configured directory tree(s) using the specified RuleSet and return the report results. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
static final def SEP
String applyToFileNames
String applyToFilesMatching
String baseDirectory
String doNotApplyToFileNames
String doNotApplyToFilesMatching
List sourceDirectories
Method Detail |
---|
Results analyze(RuleSet ruleSet)
ruleset
- - the RuleSet to apply to each of the (applicable) files in the source directories
Groovy Documentation