public class DefaultRuleCompilerContextFactory extends java.lang.Object implements RuleCompilerContextFactory<DefaultRuleCompilerContext>
RuleCompilerContextFactory.| Constructor and Description |
|---|
DefaultRuleCompilerContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRuleCompilerContext |
createContext(RuleCompilationContext ruleCompilationContext,
AbstractRuleModel rule,
java.lang.String moduleName,
RuleIrVariablesGenerator variablesGenerator)
Creates a new compiler context and sets it as the current one.
|
RuleActionsRegistry |
getRuleActionsRegistry() |
RuleConditionsRegistry |
getRuleConditionsRegistry() |
protected void |
populateDefinitionsForRule(AbstractRuleModel rule,
DefaultRuleCompilerContext context) |
void |
setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry) |
void |
setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry) |
public DefaultRuleCompilerContext createContext(RuleCompilationContext ruleCompilationContext, AbstractRuleModel rule, java.lang.String moduleName, RuleIrVariablesGenerator variablesGenerator)
RuleCompilerContextFactorycreateContext in interface RuleCompilerContextFactory<DefaultRuleCompilerContext>ruleCompilationContext - - instance of RuleCompilationContextrule - - the rule to compilemoduleName - - the rules module namevariablesGenerator - - the variables generatorprotected void populateDefinitionsForRule(AbstractRuleModel rule, DefaultRuleCompilerContext context)
public RuleConditionsRegistry getRuleConditionsRegistry()
public void setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry)
public RuleActionsRegistry getRuleActionsRegistry()
public void setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry)
Copyright © 2018 SAP SE. All Rights Reserved.