Interface RuleCompilerContextFactory<T extends RuleCompilerContext>
-
- All Known Implementing Classes:
DefaultRuleCompilerContextFactory
public interface RuleCompilerContextFactory<T extends RuleCompilerContext>Implementations of this interface are responsible for creating and destroying instances ofRuleCompilerContext.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TcreateContext(RuleCompilationContext ruleCompilationContext, AbstractRuleModel rule, java.lang.String moduleName, RuleIrVariablesGenerator variablesGenerator)Creates a new compiler context and sets it as the current one.
-
-
-
Method Detail
-
createContext
T createContext(RuleCompilationContext ruleCompilationContext, AbstractRuleModel rule, java.lang.String moduleName, RuleIrVariablesGenerator variablesGenerator)
Creates a new compiler context and sets it as the current one.- Parameters:
ruleCompilationContext- - instance ofRuleCompilationContextrule- - the rule to compilemoduleName- - the rules module namevariablesGenerator- - the variables generator- Returns:
- the new context
-
-