[rules-users] How to use type-safe enums in rule condition

Steven Williams stevearoonie at gmail.com
Tue Nov 12 18:59:41 EST 2013


I use something like the following in rules to good effect:

Country( this == Country.USA )

-------------------------------------------------------------------
Steven Williams



On Wed, Nov 13, 2013 at 12:20 AM, droolster <quant.coder at gmail.com> wrote:

> Thanks Steve for the advice and code! Awesome.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-use-type-safe-enums-in-rule-condition-tp4026739p4026745.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131113/3316d8c8/attachment.html 


More information about the rules-users mailing list