|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.source.SourceCodeCriteria
class SourceCodeCriteria
Represents the set of criteria used to filter source code (files). Provides an API to determine whether a particular source code file matches the criteria.
This is an internal class and its API is subject to change.| Property Summary | |
|---|---|
String |
applyToFileNames
Only apply to source code (file) names matching this value. |
String |
applyToFilesMatching
Apply only to source code (file) pathnames matching this regular expression. |
String |
doNotApplyToFileNames
Do NOT apply to source code (file) names matching this value. |
String |
doNotApplyToFilesMatching
Do NOT apply to source code (file) pathnames matching this regular expression. |
| Method Summary | |
|---|---|
boolean
|
matches(SourceCode sourceCode)
Return true if all of the criteria specified in this object apply to thw SourceCode. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
String applyToFileNames
String applyToFilesMatching
String doNotApplyToFileNames
String doNotApplyToFilesMatching
| Method Detail |
|---|
boolean matches(SourceCode sourceCode)
sourceCode - - the SourceCode
Groovy Documentation