Package org.codenarc.source
Class SourceCodeCriteria
- java.lang.Object
-
- org.codenarc.source.SourceCodeCriteria
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
public class SourceCodeCriteria extends Object implements groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description SourceCodeCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplyToFileNames()StringgetApplyToFilesMatching()StringgetDoNotApplyToFileNames()StringgetDoNotApplyToFilesMatching()groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)ObjectinvokeMethod(String method, Object arguments)booleanmatches(SourceCode sourceCode)voidsetApplyToFileNames(String value)voidsetApplyToFilesMatching(String value)voidsetDoNotApplyToFileNames(String value)voidsetDoNotApplyToFilesMatching(String value)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getApplyToFilesMatching
public String getApplyToFilesMatching()
-
setApplyToFilesMatching
public void setApplyToFilesMatching(String value)
-
getDoNotApplyToFilesMatching
public String getDoNotApplyToFilesMatching()
-
setDoNotApplyToFilesMatching
public void setDoNotApplyToFilesMatching(String value)
-
getApplyToFileNames
public String getApplyToFileNames()
-
setApplyToFileNames
public void setApplyToFileNames(String value)
-
getDoNotApplyToFileNames
public String getDoNotApplyToFileNames()
-
setDoNotApplyToFileNames
public void setDoNotApplyToFileNames(String value)
-
matches
public boolean matches(SourceCode sourceCode)
-
-