|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.lightest.core.LightestContextAware
public class LightestContextAware
Subclasses can provide all necessary contextual information for running a Lightest test.
| Constructor Summary | |
|---|---|
LightestContextAware()
|
|
| Method Summary | |
|---|---|
LightestContext |
getContext()
Returns the thread context as provided by the dispatcher, which must be set. |
ITaskDispatcher |
getDispatcher()
|
ITestEnvironment |
getEnv()
Returns the thread environment from the context provided by the dispatcher, which must be set. |
groovy.lang.MetaClass |
getMetaClass()
|
IPreferences |
getPrefs()
Returns the thread preferences from the context provided by the dispatcher, which must be set. |
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
void |
setDispatcher(ITaskDispatcher value)
|
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LightestContextAware()
| Method Detail |
|---|
public ITaskDispatcher getDispatcher()
public void setDispatcher(ITaskDispatcher value)
public LightestContext getContext()
public IPreferences getPrefs()
public ITestEnvironment getEnv()
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass in interface groovy.lang.GroovyObject
public Object invokeMethod(String name,
Object args)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String name)
getProperty in interface groovy.lang.GroovyObject
public void setProperty(String name,
Object value)
setProperty in interface groovy.lang.GroovyObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||