[rules-users] Problem evaluating with Enum

Wolfgang Laun wolfgang.laun at gmail.com
Wed Sep 14 01:32:13 EDT 2011


If the purpose of your constraint would be to test whether some
Collection<Object> *contains any object of a certain type*, then, sorry:
there is no such thing in Drools, not out of the box.

You could write a function, use some (static) Java method, or implement a
constraint operator "containsInstanceOf" which would have a java.lang.Class
object as its second argument.

-W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110914/81e78e18/attachment.html 


More information about the rules-users mailing list