[rules-users] How to handle generics in Drools?
Martin A
wmlsub at gmail.com
Mon Oct 17 05:30:29 EDT 2011
Hello,
In my rules file I'd like to set something like this:
rule "mayThrowDice"
when
$user : User($gp : gameplay)
$gameplay(this == $gp)
then
exists List<Boost>() {
..... some business logic
}
end
But it looks like there is no generics support. How can I make sure there is
a List of type Boost inserted into the session?
Thank you,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111017/ff9a8b6d/attachment.html
More information about the rules-users
mailing list