[rules-users] condition on size of list

sumit dhaniya sumitdhaniya at gmail.com
Thu Jul 10 09:43:12 EDT 2014


It doesn't shows java.util.List in import suggestions


On Thu, Jul 10, 2014 at 7:08 PM, Michael Anstis <michael.anstis at gmail.com>
wrote:

> Did you import java.util.List (in Project Editor's "Import suggestions"
> and then on the editor's "Config" tab)?
>
>
> On 10 July 2014 13:10, sumit dhaniya <sumitdhaniya at gmail.com> wrote:
>
>> listIf I use model classes created in JAVA with some java.util.List it
>> identifies them as Collection(superclass of List) and then list options
>> like size,first,last doesn't show up. Is there any way I can force these
>> objects as type of List.
>>
>>
>> On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis <michael.anstis at gmail.com
>> > wrote:
>>
>>> Yes.
>>>
>>> Create a BRL Condition column and use an expression on the List pattern.
>>>
>>> Sent on the move
>>> On 9 Jul 2014 19:21, "Sumit Dhaniya" <sumitdhaniya at gmail.com> wrote:
>>>
>>>> I know we can check size of list if we write free form drl but is it
>>>> possible
>>>> to use size of the list as condition in guided decision table?
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://drools.46999.n3.nabble.com/condition-on-size-of-list-tp4030283.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
>>>
>>
>>
>> _______________________________________________
>> 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/20140710/5d1be8aa/attachment.html 


More information about the rules-users mailing list