Interface RuleActionTranslator
- All Known Implementing Classes:
RuleExecutableActionTranslator
public interface RuleActionTranslator
Implementations of this interface are responsible for converting a rule action to the intermediate representation.
-
Method Summary
Modifier and TypeMethodDescriptiontranslate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition) Translates a rule action to the intermediate representation.
-
Method Details
-
translate
RuleIrAction translate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition) Translates a rule action to the intermediate representation.- Parameters:
context- - the compiler contextaction- - the actionactionDefinition- - the action definition- Returns:
- the intermediate representation for the action
-