[rules-users] Not able to call parameterizied Java method in LHS
Tinku
dibya.tcs at gmail.com
Wed Sep 28 10:30:53 EDT 2011
rhs part worked ok now..
I am facing one more issue with calling a method in lhs of the rule ..
When I call a method as mentioned below ('getValue' is the method in class
'customObject' and 'numberofObjects' is method in class 'AnotherObject') ;
the drl file has problems in saving in eclipse.
The error says like 'Multiple Markers at this line'
*******************************************************
rule A
when
$B : customObject()
$C : AnotherObject()
eval($C.numberofObjects($B.getValue("Database")) > 10)
then
<rhs of the rule>
end
--
View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-call-parameterizied-Java-method-in-LHS-tp3372552p3376209.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list