org.finra.jtaf.core.model.execution
Interface IInterpreterContext

All Superinterfaces:
IInvocationContext
All Known Implementing Classes:
CorrectiveContext

public interface IInterpreterContext
extends IInvocationContext

The interpreter pushes and pops Invocation Context frames during execution


Method Summary
 void popFrame()
          Pops the current frame.
 void pushInvocation(Invocation inv, InvocationTarget target)
          Prepares the context for the invocation.
 void setParameters(Map<String,? extends Object> vars)
          Used by ReplaceContext to set the values within the Context.
 void setTestScript(TestScript ts)
          Sets the TestScript that is being executed.
 
Methods inherited from interface org.finra.jtaf.core.model.execution.IInvocationContext
contains, getAllObjects, getObject, getTestScript, putObject, removeObject
 

Method Detail

pushInvocation

void pushInvocation(Invocation inv,
                    InvocationTarget target)
                    throws MissingInvocationTargetException
Prepares the context for the invocation. In most cases, this means building the parameter set, filtering unwanted parameters, and marking the productions. Throws MissingInvocationTargetException if no target exists for the invocation.

Parameters:
inv -
Throws:
MissingInvocationTargetException

setParameters

void setParameters(Map<String,? extends Object> vars)
Used by ReplaceContext to set the values within the Context. This does not impact the Productions

Parameters:
vars -

popFrame

void popFrame()
Pops the current frame. Anything that was listed in the set of productions will be moved into the previous frame.


setTestScript

void setTestScript(TestScript ts)
Sets the TestScript that is being executed.

Parameters:
ts -


Copyright © 2014. All rights reserved.