org.sintef.mofscript.runtime
Class RuleExecutionStack
java.lang.Object
org.sintef.mofscript.runtime.RuleExecutionStack
public class RuleExecutionStack
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleExecutionStack
public RuleExecutionStack()
pushEnvironment
public void pushEnvironment(ExecutionEnvironment env)
popEnvironment
public ExecutionEnvironment popEnvironment()
getProducedResources
public java.util.Vector getProducedResources()
- Returns:
- A (String) list of produced resources (files) (their names)
getCurrentEnvironment
public ExecutionEnvironment getCurrentEnvironment()
peekParent
public ExecutionEnvironment peekParent()
- Returns:
isRootEnvironment
public boolean isRootEnvironment()
- Returns:
clearAll
public void clearAll()
safeClear
public void safeClear()
addOutputMessageListener
public void addOutputMessageListener(ExecutionMessageListener listener)
- ProductionExecution methods
- Parameters:
listener
-
removeOutputMessageListener
public void removeOutputMessageListener(ExecutionMessageListener listener)
clearOutputMessageListeners
public void clearOutputMessageListeners()
notifyOutputMessage
public void notifyOutputMessage(java.lang.String notification)