Luck you! :) So, don't generate any eval!! ;)
Seriously speaking now, RuleModel is used by a rule modeler in the new
BRMS stuff and is evolving... right now it supports only a subset of all DRL
features. Also, they suffer from restrictions since they are GWT compiled
into javascript.
If you want to do anything you do in a DRL when generating your rules,
you need to use the descriptor classes instead:
org.drools.lang.descr.*
[]s
Edson
2007/5/23, Chris Woodrow <woodrow.chris(a)gmail.com>:
Hi,
I have been trying to do some rule generation using RuleModel class. The
thing is I did not find out how to generate an eval condition. Maybe I am
not using the proper class.
Thanks
Chris
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com