Interface RuleActionsTranslator

  • All Known Implementing Classes:
    DefaultRuleActionsTranslator

    public interface RuleActionsTranslator
    Helper service that can be used to translate generic rule actions to the intermediate representation.
    • Method Detail

      • validate

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