Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleExample
guvnorRepositoryConnector = new GuvnorRepositoryConnector("localhost", "drools-guvnor", "demo", "admin","admin");
DecisionTable catDecisionTable = guvnorRepositoryConnector.getGuidedDecisionTable("ADecisionTable");
catDecisionTable.clearAllData();
for (String value : catMap.keySet()) {
	Row newRow = catDecisionTable.createEmptyRow(i);
	newRow.getRowElements().get(3).setValue(value);
	newRow.getRowElements().get(5).setValue(catMap.get(value).toString());
}
guvnorRepositoryConnector.commitChanges(catDecisionTable);

 You just

Here is a description on the data model used in our API :

...