Interface RuleConditionsTranslator
- All Known Implementing Classes:
DefaultRuleConditionsTranslator
public interface RuleConditionsTranslator
Helper service that can be used to translate generic rule conditions to the intermediate representation.
-
Method Summary
Modifier and TypeMethodDescriptiontranslate(RuleCompilerContext context, List<RuleConditionData> conditions) Translates generic rule conditions to the intermediate representation.voidvalidate(RuleCompilerContext context, List<RuleConditionData> conditions) Validates the generic rule conditions.
-
Method Details
-
validate
Validates the generic rule conditions.- Parameters:
context- - the rule compiler contextconditions- - the conditions
-
translate
Translates generic rule conditions to the intermediate representation.- Parameters:
context- - the rule compiler contextconditions- - the conditions- Returns:
- the intermediate representation of the conditions
-