[rules-users] unable to write a function in guvnor with generic List as a parameter

Michael Anstis michael.anstis at gmail.com
Thu May 10 14:08:47 EDT 2012


Please raise a JIRA for Guvnor (not Drools) so we have a record of this
requirement and can schedule for future consideration.

Thanks.

sent on the move

On 10 May 2012 17:45, "sumatheja" <sumatheja at gmail.com> wrote:

> Hi Michael,
>                 When I try to add a global variable like
>
> *global java.util.List<Integer> tresholdList;*
>
> the package build properly without issues.
>
> On Thu, May 10, 2012 at 5:30 PM, Michael Anstis <michael.anstis at gmail.com>wrote:
>
>> AFAIK Drools doens't support generics, so Guvnor can't be expected to
>> either.
>>
>> Waiting for somebody to correct me... and having a heap of work to do on
>> Guvnor..... ;)
>>
>>
>> On 10 May 2012 16:56, sumatheja <sumatheja at gmail.com> wrote:
>>
>>> Thanks for the response. so I guess I need to typecast and use it. :)
>>>
>>>
>>> On Thu, May 10, 2012 at 4:44 PM, FlyingEagle <
>>> elisabeth.wirth at wincor-nixdorf.com> wrote:
>>>
>>>> Hi Sumatheja,
>>>>
>>>> bad news...
>>>> Guvnor doesn't support generics. I had the same problem and now I am
>>>> working
>>>> without type safe definitions.
>>>> I am working with the newest version 5.4.0, but this feature is missing.
>>>>
>>>> Sorry for not having better news.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://drools.46999.n3.nabble.com/rules-users-unable-to-write-a-function-in-guvnor-with-generic-List-as-a-parameter-tp3977450p3977475.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
>>>>
>>>
>>>
>>>
>>> --
>>> cheers
>>> Sumatheja Dasararaju
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> cheers
> Sumatheja Dasararaju
>
>
>
> _______________________________________________
> 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/20120510/3c2275e0/attachment.html 


More information about the rules-users mailing list