[rules-users] Check if fact is subset of items in the rule
kpandey
kumar.pandey at gmail.com
Mon Oct 11 21:23:09 EDT 2010
I got it to work using eval like so
when
...
eval($mycontext.isNotSubset("STRING1", "STRING2","STRING3", "STRING4"))
I have the logic in isNotSubset method in context class to check if the set
the context is subset of array passed in the call to the method.
This works but I believe this can't make use of the rete optimization ?
Thanks
Kumar
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Check-if-fact-is-subset-of-items-in-the-rule-tp1680013p1684551.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list