|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleApplication
Interface for Rule
applications.
Rule applications are reusable. To reuse an instance
you must invoke setPartialMatch(Match)
or
setCompleteMatch(Match)
or setRule(Rule)
before every execution.
Method Summary | |
---|---|
Match |
getCompleteMatch()
Get the complete match to be used. |
Match |
getPartialMatch()
Get the partial match to be used. |
Match |
getResultMatch()
Get the match for the result of the transformation (after the unit has been applied). |
Rule |
getRule()
Get the rule to be applied. |
void |
setCompleteMatch(Match completeMatch)
Set the complete match to be used. |
void |
setPartialMatch(Match partialMatch)
Set the partial match to be used. |
void |
setRule(Rule rule)
Set the rule to be applied. |
Methods inherited from interface org.eclipse.emf.henshin.interpreter.UnitApplication |
---|
execute, getAssignment, getEGraph, getResultAssignment, getResultParameterValue, getUnit, redo, setAssignment, setEGraph, setParameterValue, setUnit, undo |
Method Detail |
---|
Rule getRule()
void setRule(Rule rule)
rule
- The rule to be applied.Match getPartialMatch()
void setPartialMatch(Match partialMatch)
partialMatch
- The partial match (can be null
).Match getCompleteMatch()
void setCompleteMatch(Match completeMatch)
null
,
the complete match will be derived from the partial match.
completeMatch
- The complete match (can be null
).Match getResultMatch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |