[
http://jira.jboss.com/jira/browse/JBRULES-840?page=all ]
Edson Tirelli closed JBRULES-840.
---------------------------------
Fix Version/s: 4.0.0.MR2
(was: 4.0.0.MR3)
Resolution: Done
Support for "in" and "not in" operators added to drools-compiler as a
syntax sugar for multi restrictions.
Add "in" and "not in" operators
-------------------------------
Key: JBRULES-840
URL:
http://jira.jboss.com/jira/browse/JBRULES-840
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Reporter: Edson Tirelli
Assigned To: Edson Tirelli
Fix For: 4.0.0.MR2
Add "in" and "not in" operators. Example:
Cheese( type in ( 'stilton', 'brie', 'muzzarella' ) )
Cheese( type not in ( 'stilton', 'brie', 'muzzarella' ) )
This is syntax sugar for the connectives "| ==" and "& !=".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira