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 Detail

      • validate

        void validate​(RuleCompilerContext context,
                      java.util.List<RuleConditionData> conditions)
        Validates the generic rule conditions.
        Parameters:
        context - - the rule compiler context
        conditions - - 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 context
        conditions - - the conditions
        Returns:
        the intermediate representation of the conditions