public class DefaultRuleCompilerContextFactory extends java.lang.Object implements RuleCompilerContextFactory<DefaultRuleCompilerContext>
RuleCompilerContextFactory.| Constructor and Description |
|---|
DefaultRuleCompilerContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRuleCompilerContext |
createContext(AbstractRuleModel rule,
RuleIrVariablesGenerator variablesGenerator)
Deprecated.
since 6.4
|
DefaultRuleCompilerContext |
createContext(RuleCompilationContext ruleCompilationContext,
AbstractRuleModel rule,
java.lang.String moduleName,
RuleIrVariablesGenerator variablesGenerator)
Creates a new compiler context and sets it as the current one.
|
void |
destroyContext()
Deprecated.
since 6.4. Will be removed
|
DefaultRuleCompilerContext |
getContext()
Deprecated.
since 6.4. Will be removed
|
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 generator@Deprecated public DefaultRuleCompilerContext createContext(AbstractRuleModel rule, RuleIrVariablesGenerator variablesGenerator)
createContext in interface RuleCompilerContextFactory<DefaultRuleCompilerContext>rule - - the rule to compilevariablesGenerator - - the variables generator@Deprecated public DefaultRuleCompilerContext getContext()
getContext in interface RuleCompilerContextFactory<DefaultRuleCompilerContext>@Deprecated public void destroyContext()
destroyContext in interface RuleCompilerContextFactory<DefaultRuleCompilerContext>protected void populateDefinitionsForRule(AbstractRuleModel rule, DefaultRuleCompilerContext context)
public RuleConditionsRegistry getRuleConditionsRegistry()
public void setRuleConditionsRegistry(RuleConditionsRegistry ruleConditionsRegistry)
public RuleActionsRegistry getRuleActionsRegistry()
public void setRuleActionsRegistry(RuleActionsRegistry ruleActionsRegistry)
Copyright © 2017 SAP SE. All Rights Reserved.