public class RuleExecutableActionTranslator extends java.lang.Object implements RuleActionTranslator, RuleActionValidator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_ID_PARAM |
| Constructor and Description |
|---|
RuleExecutableActionTranslator() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationContext |
getApplicationContext() |
RuleCompilerProblemFactory |
getRuleCompilerProblemFactory() |
protected RuleExecutableAction |
getRuleExecutableAction(java.lang.String actionId) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setRuleCompilerProblemFactory(RuleCompilerProblemFactory ruleCompilerProblemFactory) |
RuleIrAction |
translate(RuleCompilerContext context,
RuleActionData action,
RuleActionDefinitionData actionDefinition)
Translates a rule action to the intermediate representation.
|
void |
validate(RuleCompilerContext context,
RuleActionData action,
RuleActionDefinitionData actionDefinition)
Validates a rule action.
|
public static final java.lang.String ACTION_ID_PARAM
public void validate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)
RuleActionValidatorvalidate in interface RuleActionValidatorcontext - - the compiler contextaction - - the actionactionDefinition - - the action definitionpublic RuleIrAction translate(RuleCompilerContext context, RuleActionData action, RuleActionDefinitionData actionDefinition)
RuleActionTranslatortranslate in interface RuleActionTranslatorcontext - - the compiler contextaction - - the actionactionDefinition - - the action definitionprotected RuleExecutableAction getRuleExecutableAction(java.lang.String actionId)
public RuleCompilerProblemFactory getRuleCompilerProblemFactory()
public void setRuleCompilerProblemFactory(RuleCompilerProblemFactory ruleCompilerProblemFactory)
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext)
Copyright © 2018 SAP SE. All Rights Reserved.