|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInvocationContext
InvocationTargets can access objects currently inside the context. They are not allowed to push or pop frames.
Method Summary | |
---|---|
boolean |
contains(String name)
TODO: This should probably throw some type of exception if the name is not specified in the script contract |
Map<String,Object> |
getAllObjects()
Returns map |
Object |
getObject(String name)
Returns an Object associated w/ the given name, or null if no such Object is available in the current Context |
TestScript |
getTestScript()
|
void |
putObject(String name,
Object value)
Inserts the specified Object into the current Context. |
void |
removeObject(String name)
Removes the object w/ the given name TODO: This should probably throw some kind of exception if the name is not specified in the script contract |
Method Detail |
---|
Object getObject(String name) throws UndefinedParameterError
name
-
UndefinedParameterError
Map<String,Object> getAllObjects()
void putObject(String name, Object value) throws UndefinedProductionError
name
- value
-
UndefinedProductionError
boolean contains(String name)
name
-
void removeObject(String name)
name
- TestScript getTestScript()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |