[rules-users] Question on "From Collect"

Esteban Aliverti esteban.aliverti at gmail.com
Tue Jul 30 03:18:18 EDT 2013


This is a tricky one. When I added this feature to Guvnor, Guvnor
automatically imported some classes like java.util.List, java.util.Set,
etc. Some time later, these automatically imported classes where removed
and you have to manually add their imports in the package configuration.
So, if you want to have the 'missing' methods for Lists and Sets, you just
need to import those classes in the package you are working on.

Regards,


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com


On Mon, Jul 29, 2013 at 5:33 PM, Wolfgang Laun <wolfgang.laun at gmail.com>wrote:

> On 29 July 2013 15:55, IPatel <ishita.patel at usbank.com> wrote:
>
>> Hi,
>>
>> The below blog shows me how to use From Collect option on LHS.
>>
>> http://ilesteban.wordpress.com/2010/05/28/guvnor-guided-editor-suuport-for-fromcollectaccumulate-elements/
>>
>> However when i try to use the set option. I do not get the option of
>> "Size".
>>
>> The blog is from Esteban .
>>
>> Here is the use case. I have a class which contains a list of objects
>> (transcations). All i am trying to do is fetch that list in my LHS so when
>> the list is available other rules can be applied.
>>
>
> If an object of this class already contains a list you don't need "from
> collect" whose purpose is the composition of a list, to be made up from
> individual objects here and there.
>
> -W
>
>
>
>>
>> Thank you,
>> Isha
>>
>>
>>
>> --
>> View this message in context:
>> http://drools.46999.n3.nabble.com/Question-on-From-Collect-tp4025184.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130730/367b90cc/attachment-0001.html 


More information about the rules-users mailing list