Just like in Java:
List list = new ArrayList();
list.add( ... );
$var.functionName("Reject", "Reject", list );
On 16 August 2010 18:55, vijrams <mailrvijay(a)gmail.com> wrote:
hi
i have a function
public void functionName(String str1, String str2, List list1)
how do you build a List on the fly and pass it as parameter?
when
$var : ClassName()
... condn ...
then
$var.functionName("Reject", "Reject", ???)
end
Thanks
Vijay
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Passing-java-util-Lis...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users