com.googlecode.lightest.core.filter
Class NotFilter
java.lang.Object
com.googlecode.lightest.core.filter.NotFilter
- All Implemented Interfaces:
- ITestFilter, groovy.lang.GroovyObject
public class NotFilter
- extends Object
- implements groovy.lang.GroovyObject, ITestFilter
Negates the result of a wrapped filter.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotFilter
public NotFilter(ITestFilter filter)
test
public boolean test(Method m)
- Description copied from interface:
ITestFilter
- Returns true if the method passes the filter, and false otherwise.
- Specified by:
test in interface ITestFilter
- Parameters:
m - the method being filtered
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
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2009. All Rights Reserved.