Hi Ian,
I tried using Enums with Guvnor twice: once back in the 4.0 times of
Drools, once again when we got the 5.0 update.
My experience: Java enums and Guvnor simply don't work together. Stick
with writing DRL rule files in a text editor, or even better, using the
Eclipse plugin. This way,
Hi All,
I've recently started using Drools and Guvnor, and so far really like
it!
I have one problem however, to do with Java enums in Guvnor.
I have a simple enum as follows:
public enum STPRuleAction
{
UNKNOWN, ACCEPT, REJECT
}
I can hand write a rule that works fine with this enum as