org.globus.cog.karajan.stack
Interface VariableStack
- All Known Implementing Classes:
- DefaultStack, FastStack
- public interface VariableStack
enter
public void enter()
leave
public void leave()
frameCount
public int frameCount()
isDefined
public boolean isDefined(String varName)
getVar
public Object getVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getVarFromFrame
public Object getVarFromFrame(String name,
int skipCount)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
getAllVars
public List getAllVars(String name)
getVarAsString
public String getVarAsString(String varName)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
currentFrame
public StackFrame currentFrame()
parentFrame
public StackFrame parentFrame()
firstFrame
public StackFrame firstFrame()
getFrame
public StackFrame getFrame(int frame)
setVar
public void setVar(String name,
Object value)
exportVar
public void exportVar(String name)
copy
public VariableStack copy()
toString
public String toString()
dumpAll
public void dumpAll()
setVar
public void setVar(String name,
int value)
getIntVar
public int getIntVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
setVar
public void setVar(String name,
boolean value)
getBooleanVar
public boolean getBooleanVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
setBarrier
public void setBarrier()
setGlobal
public void setGlobal(String name,
Object value)
getGlobal
public Object getGlobal(String name)
trace
public String trace()
newInstance
public VariableStack newInstance()