[rules-users] enum Support
Mark Proctor
mproctor at codehaus.org
Tue Apr 10 06:38:48 EDT 2007
in 3.0.6 it should work fine, there was a regression for M1, which has
now been fixed.
Mark
John Howard wrote:
> Hi,
>
> I have the following rule:
>
> dh : DealtHand(seat == Seat.NORTH)
>
> Seat is a Java 5 enum. When I trace through the code it appears that
> Seat.NORTH gets changed to 'NORTH' for the comparison which fails the test.
>
> I have Java Language Level set to 1.5.
>
> Is this type of construct supported in DROOLS.
>
> Thanks,
>
> John
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
More information about the rules-users
mailing list