org.sintef.mofscript.runtime
Class RuleExecutionStack

java.lang.Object
  extended by org.sintef.mofscript.runtime.RuleExecutionStack

public class RuleExecutionStack
extends java.lang.Object


Constructor Summary
RuleExecutionStack()
           
 
Method Summary
 void addProductionListener(ExecutionMessageListener listener)
          ProductionExecution methods
 void clearAll()
           
 void clearProductionListeners()
           
 ExecutionEnvironment getCurrentEnvironment()
           
 java.util.Vector getProducedResources()
           
 boolean isRootEnvironment()
           
 void notifyProduction(java.lang.String notification)
           
 ExecutionEnvironment peekParent()
           
 ExecutionEnvironment popEnvironment()
           
 void pushEnvironment(ExecutionEnvironment env)
           
 void removeProductionListener(ExecutionMessageListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleExecutionStack

public RuleExecutionStack()
Method Detail

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()

isRootEnvironment

public boolean isRootEnvironment()

clearAll

public void clearAll()

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)