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 Type
    Method
    Description
    List<org.kie.pmml.commons.model.KiePMMLModel>
    getKiePMMLModelsWithSources(String packageName, InputStream inputStream, String fileName, org.kie.pmml.api.compilation.PMMLCompilationContext pmmlContext)
    Read the given InputStream to return a List<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 given InputStream to return a List<KiePMMLModel> following a kie-maven-plugin invocation
      Parameters:
      packageName - the package into which put all the generated classes out of the given InputStream
      inputStream -
      fileName -
      pmmlContext - Using PMMLCompilationContext
      Returns:
      Throws:
      org.kie.pmml.api.exceptions.KiePMMLException - if any KiePMMLInternalException has been thrown during execution
      org.kie.pmml.api.exceptions.ExternalException - if any other kind of Exception has been thrown during execution