[rules-users] Not able to call parameterizied Java method in LHS
Edson Tirelli
ed.tirelli at gmail.com
Tue Sep 27 19:19:42 EDT 2011
Assuming callA() and callB() are methods on $C, you are missing a comma
in between them.
modify ($C)
{
callA("UNIX"),
callB("PERL")
}
Edson
2011/9/27 Tinku <dibya.tcs at gmail.com>
> I try to add two java method calls in the RHS of the rule .It doesnot allow
> me to save the DRL file in eclipse .It complaints "Multiple Markers at this
> line".
>
> However ,commenting one of the method in the RHS works fine ,with-out any
> issue..
>
> Could you pls help me in this..
>
> Example :
>
> when
> $B : customObject()
> $C :result()
>
> eval($B.getValue("Database").equals("ORACLE"))
>
> then
> modify ($C)
> {
> callA("UNIX")
> callB("PERL")
> }
>
> end
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Not-able-to-call-parameterizied-Java-method-in-LHS-tp3372552p3374183.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
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110927/62837c48/attachment.html
More information about the rules-users
mailing list