Package org.kie.dmn.core.pmml
Class AbstractPMMLInvocationEvaluator
- java.lang.Object
-
- org.kie.dmn.core.pmml.AbstractPMMLInvocationEvaluator
-
- All Implemented Interfaces:
DMNExpressionEvaluator
- Direct Known Subclasses:
AbstractDMNKiePMMLInvocationEvaluator,AbstractPMMLInvocationEvaluator.DummyPMMLInvocationEvaluator
public abstract class AbstractPMMLInvocationEvaluator extends Object implements DMNExpressionEvaluator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractPMMLInvocationEvaluator.DummyPMMLInvocationEvaluatorstatic classAbstractPMMLInvocationEvaluator.PMMLInvocationEvaluatorFactory
-
Field Summary
Fields Modifier and Type Field Description protected StringdmnNSprotected org.kie.api.io.ResourcedocumentResourceprotected Stringmodelprotected org.kie.dmn.model.api.DMNElementnodeprotected List<DMNFunctionDefinitionEvaluator.FormalParameter>parameters
-
Constructor Summary
Constructors Constructor Description AbstractPMMLInvocationEvaluator(String dmnNS, org.kie.dmn.model.api.DMNElement node, org.kie.api.io.Resource resource, String model)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String name, org.kie.dmn.api.core.DMNType dmnType)List<List<String>>getParameterNames()org.kie.dmn.api.core.DMNTypegetParameterType(String name)List<List<org.kie.dmn.api.core.DMNType>>getParameterTypes()protected static ObjectgetValueForPMMLInput(org.kie.dmn.api.core.DMNResult r, String name)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.dmn.core.api.DMNExpressionEvaluator
evaluate
-
-
-
-
Field Detail
-
dmnNS
protected final String dmnNS
-
node
protected final org.kie.dmn.model.api.DMNElement node
-
parameters
protected final List<DMNFunctionDefinitionEvaluator.FormalParameter> parameters
-
documentResource
protected final org.kie.api.io.Resource documentResource
-
model
protected final String model
-
-
Method Detail
-
getValueForPMMLInput
protected static Object getValueForPMMLInput(org.kie.dmn.api.core.DMNResult r, String name)
-
getParameterType
public org.kie.dmn.api.core.DMNType getParameterType(String name)
-
addParameter
public void addParameter(String name, org.kie.dmn.api.core.DMNType dmnType)
-
-