public interface RuleCompilerContextFactory<T extends RuleCompilerContext>
RuleCompilerContext.| Modifier and Type | Method and Description |
|---|---|
T |
createContext(AbstractRuleModel rule,
RuleIrVariablesGenerator variablesGenerator)
Creates a new compiler context and sets it as the current one.
|
void |
destroyContext()
Destroys the current context.
|
T |
getContext()
Returns the current context.
|
T createContext(AbstractRuleModel rule, RuleIrVariablesGenerator variablesGenerator)
rule - - the rule to compilevariablesGenerator - - the variables generatorT getContext()
void destroyContext()
throws RuleCompilerException
RuleCompilerException - if an error occurs during the rule compilationCopyright © 2017 SAP SE. All Rights Reserved.