Interface RuleActionsTranslator
-
- All Known Implementing Classes:
DefaultRuleActionsTranslator
public interface RuleActionsTranslatorHelper service that can be used to translate generic rule actions to the intermediate representation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RuleIrAction>translate(RuleCompilerContext context, java.util.List<RuleActionData> actions)Translates generic rule actions to the intermediate representation.voidvalidate(RuleCompilerContext context, java.util.List<RuleActionData> actions)Validates the generic rule actions.
-
-
-
Method Detail
-
validate
void validate(RuleCompilerContext context, java.util.List<RuleActionData> actions)
Validates the generic rule actions.- Parameters:
context- - the rule compiler contextactions- - the actions
-
translate
java.util.List<RuleIrAction> translate(RuleCompilerContext context, java.util.List<RuleActionData> actions)
Translates generic rule actions to the intermediate representation.- Parameters:
context- - the rule compiler contextactions- - the actions- Returns:
- the intermediate representation of the actions
-
-