Menu

Released version 1.2.0

The most important change is change 5:

The flag Rule.isDisjunctCheckFailed is now transient, that means it will appear NO LONGER in the JSON string. Thus, the JSON strings generated by this library are - for same decision table - different to the JSON strings generated by version 1.1 and 1.1.1 of this library.

But you should get valid objects for any version this library using JSON strings prepared with any version of this library. This was successfully tested with JSON strings made with version 1.0, 1.1 and 1.2.0.


There is a fine new instrument to find mistakes before others do: You may check any node if it has at least one Yes decision in at least one valid rule! This is important together with creating decision tables to configure the application flow of your applications without touching the source code using decision tables.


There are new methods to access a flag in any node telling "the last check failed". With this flag in all nodes you may instruct a client "if this node has the flag xy set please set the background colour of this row red, paint background white otherwise". This will be used in version 1.1.0 of JDecisiontable comming soon!


Change number 9 will hopefully affect nobody:

The scope of some methods in class Rule were changed from public to protected. These are:
- Rule.addDecision(int nodePos)
- Rule.addDecision(int nodePos, Decision d)
- Rule.removeDecision(int nodePos)

Please use only these methods to change the number of rules from outside of the package:
- Decisiontable.addNode(int nodePos)
- Decisiontable.removeRule(int rulePos)


The test provides now a code coverage of 98.97%.


Last but not least: Thanks to automatic testing I can "release early, release often". To distinguish different versions more easy I write leading zeros in the version.

All changes in detail are in README.txt.

Posted by Michael Groß 2012-11-28

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.