org.gmetrics.source
Class SourceCodeCriteria
java.lang.Object
org.gmetrics.source.SourceCodeCriteria
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class SourceCodeCriteria
- extends java.lang.Object
- implements groovy.lang.GroovyObject
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.
- Version:
- $Revision: 24 $ - $Date: 2009-12-10 21:17:05 -0500 (Thu, 10 Dec 2009) $
- Author:
- Chris Mair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceCodeCriteria
public SourceCodeCriteria()
getApplyToFilesMatching
public java.lang.String getApplyToFilesMatching()
setApplyToFilesMatching
public void setApplyToFilesMatching(java.lang.String value)
getDoNotApplyToFilesMatching
public java.lang.String getDoNotApplyToFilesMatching()
setDoNotApplyToFilesMatching
public void setDoNotApplyToFilesMatching(java.lang.String value)
getApplyToFileNames
public java.lang.String getApplyToFileNames()
setApplyToFileNames
public void setApplyToFileNames(java.lang.String value)
getDoNotApplyToFileNames
public java.lang.String getDoNotApplyToFileNames()
setDoNotApplyToFileNames
public void setDoNotApplyToFileNames(java.lang.String value)
matches
public boolean matches(SourceCode sourceCode)
- Return true if all of the criteria specified in this object apply to thw SourceCode.
- Parameters:
sourceCode - - the SourceCode
- Returns:
- true only if all of the (specified, i.e. non-null) criteria match the SourceCode
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2010. All Rights Reserved.