@Test(expected = UnsupportedOperationException.class) public void addToGetSourcesMap() { Map<String, String> retrieved = kiePMMLDroolsModelWithSources.getSourcesMap(); retrieved.put("KEY", "VALUE"); }
@Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); }
KiePMMLDroolsModelWithSources extends KiePMMLDroolsModel implements HasRule { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } }
KiePMMLDroolsModelWithSources extends KiePMMLDroolsModel implements HasRule { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } KiePMMLDroolsModelWithSources(String name, String kmodulePackageName, Map<String, String> sourcesMap, PackageDescr packageDescr); }
KiePMMLDroolsModelWithSources extends KiePMMLDroolsModel implements HasRule { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } KiePMMLDroolsModelWithSources(String name, String kmodulePackageName, Map<String, String> sourcesMap, PackageDescr packageDescr); @Override Object evaluate(final Object knowledgeBase, Map<String, Object> requestData); @Override Map<String, Object> getOutputFieldsMap(); @Override Map<String, String> getSourcesMap(); @Override void addSourceMap(String key, String value); @Override String getKModulePackageName(); @Override String getPkgUUID(); PackageDescr getPackageDescr(); }
KiePMMLDroolsModelWithSources extends KiePMMLDroolsModel implements HasRule { @Override public Map<String, String> getSourcesMap() { return Collections.unmodifiableMap(sourcesMap); } KiePMMLDroolsModelWithSources(String name, String kmodulePackageName, Map<String, String> sourcesMap, PackageDescr packageDescr); @Override Object evaluate(final Object knowledgeBase, Map<String, Object> requestData); @Override Map<String, Object> getOutputFieldsMap(); @Override Map<String, String> getSourcesMap(); @Override void addSourceMap(String key, String value); @Override String getKModulePackageName(); @Override String getPkgUUID(); PackageDescr getPackageDescr();  }