|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mofscript.runtime.RuleExecutor
public class RuleExecutor
The RuleExecutor executes the rules
Constructor Summary | |
---|---|
RuleExecutor(TransformationRule rule,
ExecutionManager execMgr)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
executeRule()
pre condition: Rule is set and environment is set |
ExecutionEnvironment |
getExecutionEnvironment()
|
static ExecutionManager |
getExecutionManager()
Gets the ExecutionManager |
static java.lang.String |
getObjectId(org.eclipse.emf.ecore.EObject obj)
|
java.util.Hashtable |
getReferenceCache()
Gets the Hashtable of cached refrences |
TransformationRule |
getRule()
|
java.lang.Object |
getRuleReturnValue()
|
StatementBlock |
getStatementBlock()
|
boolean |
isReturning()
|
void |
notifyReturn(java.lang.Object returnValue)
|
void |
setExecutionEnvironment(ExecutionEnvironment env)
|
void |
setRuleReturnValue(java.lang.Object value)
Sets the rule_return_value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleExecutor(TransformationRule rule, ExecutionManager execMgr)
rule
- execMgr
- Method Detail |
---|
public static ExecutionManager getExecutionManager()
public java.util.Hashtable getReferenceCache()
public void setExecutionEnvironment(ExecutionEnvironment env)
env
- public ExecutionEnvironment getExecutionEnvironment()
public void setRuleReturnValue(java.lang.Object value)
value
- public java.lang.Object getRuleReturnValue()
public TransformationRule getRule()
public java.lang.Object executeRule() throws MofScriptExecutionException
MofScriptExecutionException
public static java.lang.String getObjectId(org.eclipse.emf.ecore.EObject obj)
public StatementBlock getStatementBlock()
public void notifyReturn(java.lang.Object returnValue)
public boolean isReturning()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |