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 Details

    • validate

      void validate(RuleCompilerContext context, List<RuleConditionData> conditions)
      Validates the generic rule conditions.
      Parameters:
      context - - the rule compiler context
      conditions - - the conditions
    • translate

      List<RuleIrCondition> translate(RuleCompilerContext context, List<RuleConditionData> conditions)
      Translates generic rule conditions to the intermediate representation.
      Parameters:
      context - - the rule compiler context
      conditions - - the conditions
      Returns:
      the intermediate representation of the conditions