KiePMMLMiningModel extends KiePMMLModel implements HasNestedModels { public String getAlgorithmName() { return algorithmName; } protected  KiePMMLMiningModel(String name, List<KiePMMLExtension> extensions); static Builder builder(String name, List<KiePMMLExtension> extensions, MINING_FUNCTION miningFunction); @Override Object evaluate(final Object knowledgeBase, final Map<String, Object> requestData); @Override List<KiePMMLModel> getNestedModels(); String getAlgorithmName(); boolean isScorable(); KiePMMLSegmentation getSegmentation(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static final PMML_MODEL PMML_MODEL_TYPE; }
@Test public void getAlgorithmName() { assertNull(KIE_PMML_MINING_MODEL.getAlgorithmName()); String algorithmName = "algorithmName"; KIE_PMML_MINING_MODEL = BUILDER.withAlgorithmName(algorithmName).build(); assertEquals(algorithmName, KIE_PMML_MINING_MODEL.getAlgorithmName()); }