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 <[email protected]> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to