Package org.kie.dmn.core.compiler
Class DMNEvaluatorCompiler
- java.lang.Object
-
- org.kie.dmn.core.compiler.DMNEvaluatorCompiler
-
- All Implemented Interfaces:
DMNDecisionLogicCompiler
- Direct Known Subclasses:
DMNAlphaNetworkEvaluatorCompiler,ExecModelDMNClassLoaderCompiler,ExecModelDMNEvaluatorCompiler
public class DMNEvaluatorCompiler extends Object implements DMNDecisionLogicCompiler
-
-
Field Summary
Fields Modifier and Type Field Description protected DMNCompilerImplcompiler
-
Constructor Summary
Constructors Modifier Constructor Description protectedDMNEvaluatorCompiler(DMNCompilerImpl compiler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DMNExpressionEvaluatorcompileDecisionTable(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String dtName, org.kie.dmn.model.api.DecisionTable dt)DMNExpressionEvaluatorcompileExpression(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String exprName, org.kie.dmn.model.api.Expression expression)static DMNEvaluatorCompilerdmnEvaluatorCompilerFactory(DMNCompilerImpl dmnCompiler, DMNCompilerConfigurationImpl dmnCompilerConfig)protected DMNCompilerConfigurationImplgetDmnCompilerConfig()static List<String>getParameters(DMNModelImpl model, DMNBaseNode node, org.kie.dmn.model.api.DecisionTable dt)protected ClassLoadergetRootClassLoader()static BaseDMNTypeImplinferTypeRef(DMNModelImpl model, org.kie.dmn.model.api.DecisionTable dt, org.kie.dmn.model.api.OutputClause oc)
-
-
-
Field Detail
-
compiler
protected final DMNCompilerImpl compiler
-
-
Constructor Detail
-
DMNEvaluatorCompiler
protected DMNEvaluatorCompiler(DMNCompilerImpl compiler)
-
-
Method Detail
-
dmnEvaluatorCompilerFactory
public static DMNEvaluatorCompiler dmnEvaluatorCompilerFactory(DMNCompilerImpl dmnCompiler, DMNCompilerConfigurationImpl dmnCompilerConfig)
-
compileExpression
public DMNExpressionEvaluator compileExpression(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String exprName, org.kie.dmn.model.api.Expression expression)
- Specified by:
compileExpressionin interfaceDMNDecisionLogicCompiler
-
getRootClassLoader
protected ClassLoader getRootClassLoader()
-
getDmnCompilerConfig
protected DMNCompilerConfigurationImpl getDmnCompilerConfig()
-
compileDecisionTable
protected DMNExpressionEvaluator compileDecisionTable(DMNCompilerContext ctx, DMNModelImpl model, DMNBaseNode node, String dtName, org.kie.dmn.model.api.DecisionTable dt)
-
inferTypeRef
public static BaseDMNTypeImpl inferTypeRef(DMNModelImpl model, org.kie.dmn.model.api.DecisionTable dt, org.kie.dmn.model.api.OutputClause oc)
-
getParameters
public static List<String> getParameters(DMNModelImpl model, DMNBaseNode node, org.kie.dmn.model.api.DecisionTable dt)
-
-