Class RuleExecutableActionTranslator

java.lang.Object
de.hybris.platform.ruleengineservices.definitions.actions.RuleExecutableActionTranslator
All Implemented Interfaces:
RuleActionTranslator, RuleActionValidator, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class RuleExecutableActionTranslator extends Object implements RuleActionTranslator, RuleActionValidator, org.springframework.context.ApplicationContextAware
  • Field Details

  • Constructor Details

    • RuleExecutableActionTranslator

      public RuleExecutableActionTranslator()
  • Method Details

    • validate

      public void validate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)
      Description copied from interface: RuleActionValidator
      Validates a rule action.
      Specified by:
      validate in interface RuleActionValidator
      Parameters:
      context - - the compiler context
      action - - the action
      actionDefinition - - the action definition
    • translate

      public RuleIrAction translate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)
      Description copied from interface: RuleActionTranslator
      Translates a rule action to the intermediate representation.
      Specified by:
      translate in interface RuleActionTranslator
      Parameters:
      context - - the compiler context
      action - - the action
      actionDefinition - - the action definition
      Returns:
      the intermediate representation for the action
    • getRuleExecutableAction

      protected RuleExecutableAction getRuleExecutableAction(String actionId)
    • getRuleCompilerProblemFactory

      public RuleCompilerProblemFactory getRuleCompilerProblemFactory()
    • setRuleCompilerProblemFactory

      public void setRuleCompilerProblemFactory(RuleCompilerProblemFactory ruleCompilerProblemFactory)
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware