com.googlecode.lightest.core.filter
Class AnnotationContainsFilter
java.lang.Object
com.googlecode.lightest.core.filter.ComparisonFilter
com.googlecode.lightest.core.filter.AnnotationFilter
com.googlecode.lightest.core.filter.AnnotationContainsFilter
- All Implemented Interfaces:
- ITestFilter, groovy.lang.GroovyObject
public class AnnotationContainsFilter
- extends AnnotationFilter
- implements groovy.lang.GroovyObject
Filters based on annotation value contents as defined by contains(), or
indexOf() in the case of Strings.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationContainsFilter
public AnnotationContainsFilter()
compare
public boolean compare(Object value,
Object attributeValue)
- Description copied from class:
ComparisonFilter
- Returns true if the comparison criteria is satisfied, false otherwise.
- Specified by:
compare in class ComparisonFilter
- Parameters:
value - the value to compare againstattributeValue - the value being compared
filterString
public String filterString()
- Description copied from interface:
ITestFilter
- Returns a canonical String representation of the filter.
- Specified by:
filterString in interface ITestFilter
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class AnnotationFilter
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class AnnotationFilter
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class AnnotationFilter
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class AnnotationFilter
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class AnnotationFilter
Copyright © 2009. All Rights Reserved.