Package org.kie.pmml.compiler.executor
Interface PMMLCompiler
- All Known Implementing Classes:
PMMLCompilerImpl
public interface PMMLCompiler
Actual implementations are required to convert a PMML xml to
to a
List<KiePMMLModel>-
Method Summary
Modifier and TypeMethodDescriptionList<org.kie.pmml.commons.model.KiePMMLModel>getKiePMMLModelsWithSources(String packageName, InputStream inputStream, String fileName, org.kie.pmml.api.compilation.PMMLCompilationContext pmmlContext) Read the givenInputStreamto return aList<KiePMMLModel>following a kie-maven-plugin invocation
-
Method Details
-
getKiePMMLModelsWithSources
List<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModelsWithSources(String packageName, InputStream inputStream, String fileName, org.kie.pmml.api.compilation.PMMLCompilationContext pmmlContext) Read the givenInputStreamto return aList<KiePMMLModel>following a kie-maven-plugin invocation- Parameters:
packageName- the package into which put all the generated classes out of the givenInputStreaminputStream-fileName-pmmlContext- UsingPMMLCompilationContext- Returns:
- Throws:
org.kie.pmml.api.exceptions.KiePMMLException- if anyKiePMMLInternalExceptionhas been thrown during executionorg.kie.pmml.api.exceptions.ExternalException- if any other kind ofExceptionhas been thrown during execution
-