Interface PMMLRuntimeInternal
-
- All Superinterfaces:
org.kie.pmml.api.runtime.PMMLRuntime
public interface PMMLRuntimeInternal extends org.kie.pmml.api.runtime.PMMLRuntime
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<org.kie.pmml.commons.model.KiePMMLModel>getKiePMMLModel(String modelName)Returns the model registered with the given model name.List<org.kie.pmml.commons.model.KiePMMLModel>getKiePMMLModels()Returns a list of all models available to this runtimeorg.kie.api.KieBasegetKnowledgeBase()Returns theKieBaseused by the currentPMMLRuntime
-
-
-
Method Detail
-
getKnowledgeBase
org.kie.api.KieBase getKnowledgeBase()
Returns theKieBaseused by the currentPMMLRuntime- Returns:
-
getKiePMMLModels
List<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModels()
Returns a list of all models available to this runtime- Returns:
- the list of available models. An empty list in case no model is available.
-
getKiePMMLModel
Optional<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModel(String modelName)
Returns the model registered with the given model name.- Parameters:
modelName- the name of the model- Returns:
- the corresponding an
Optionalwith theKiePMMLModelretrieved, or an empty one if none is registered with the given name.
-
-