use of org.kie.pmml.evaluator.assembler.service.PMMLAssemblerService in project drools by kiegroup.
the class PMMLRuntimeFactoryInternal method getPMMLRuntime.
protected static PMMLRuntime getPMMLRuntime(File pmmlFile, KnowledgeBuilderImpl kbuilderImpl) {
FileSystemResource fileSystemResource = new FileSystemResource(pmmlFile);
new PMMLAssemblerService().addResourceAfterRules(kbuilderImpl, fileSystemResource, ResourceType.PMML, null);
KieBase kieBase = createKieBase(kbuilderImpl);
return getPMMLRuntime(kieBase);
}
Aggregations