|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sintef.mofscript.runtime.RuleExecutionStack
public class RuleExecutionStack
The rule execution stack
| Constructor Summary | |
|---|---|
RuleExecutionStack()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addOutputMessageListener(ExecutionMessageListener listener)
ProductionExecution method |
void |
clearAll()
Clears the env stack and the resources |
void |
clearOutputMessageListeners()
ProductionExecution method |
ExecutionEnvironment |
getCurrentEnvironment()
Looks at the object at the top of the env stack without removing it from the stack. |
java.util.Vector |
getProducedResources()
|
boolean |
isRootEnvironment()
Checs if the environment is the root |
void |
notifyOutputMessage(java.lang.String notification)
ProductionExecution method |
ExecutionEnvironment |
peekParent()
|
ExecutionEnvironment |
popEnvironment()
Gets the environment on top of the stack, returns it and removes it from the env stack |
void |
pushEnvironment(ExecutionEnvironment env)
|
void |
removeOutputMessageListener(ExecutionMessageListener listener)
ProductionExecution method |
void |
safeClear()
Safe clearance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleExecutionStack()
| Method Detail |
|---|
public void pushEnvironment(ExecutionEnvironment env)
env - public ExecutionEnvironment popEnvironment()
public java.util.Vector getProducedResources()
public ExecutionEnvironment getCurrentEnvironment()
public ExecutionEnvironment peekParent()
public boolean isRootEnvironment()
public void clearAll()
public void safeClear()
public void addOutputMessageListener(ExecutionMessageListener listener)
listener - public void removeOutputMessageListener(ExecutionMessageListener listener)
listener - public void clearOutputMessageListeners()
listener - public void notifyOutputMessage(java.lang.String notification)
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||