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()
addProductionListener
public void addProductionListener(ExecutionMessageListener listener)
- ProductionExecution methods
- Parameters:
listener
-
removeProductionListener
public void removeProductionListener(ExecutionMessageListener listener)
clearProductionListeners
public void clearProductionListeners()
notifyProduction
public void notifyProduction(java.lang.String notification)