Interface RuleConditionsTranslator
-
- All Known Implementing Classes:
DefaultRuleConditionsTranslator
public interface RuleConditionsTranslatorHelper service that can be used to translate generic rule conditions to the intermediate representation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RuleIrCondition>translate(RuleCompilerContext context, java.util.List<RuleConditionData> conditions)Translates generic rule conditions to the intermediate representation.voidvalidate(RuleCompilerContext context, java.util.List<RuleConditionData> conditions)Validates the generic rule conditions.
-
-
-
Method Detail
-
validate
void validate(RuleCompilerContext context, java.util.List<RuleConditionData> conditions)
Validates the generic rule conditions.- Parameters:
context- - the rule compiler contextconditions- - the conditions
-
translate
java.util.List<RuleIrCondition> translate(RuleCompilerContext context, java.util.List<RuleConditionData> conditions)
Translates generic rule conditions to the intermediate representation.- Parameters:
context- - the rule compiler contextconditions- - the conditions- Returns:
- the intermediate representation of the conditions
-
-