[rules-users] Java methods in LHS ?

Anstis, Michael (M.) manstis1 at ford.com
Thu May 31 11:40:27 EDT 2007


Hi Jojan,

In 3.0.6 you can use Java zero-argument functions in LHS Return Value
predicates and operators (see the documentation). You can use any Java
in LHS eval statements (see the documentation). You can use any Java in
the RHS.

In 4.0.x this has been extended slightly to allow access to maps by
named element, but I think it internally generates evals from your DRL.
See the various links about what's new in v4.0.x for more (accurate)
information.

With kind regards,

Mike

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Joj
Sent: 31 May 2007 16:17
To: rules-users at lists.jboss.org
Subject: [rules-users] Java methods in LHS ?


Hi,

1) Can v use Java methods within the passed Java objects to do some
evaluations or calculations in LHS? Plz show an example.
2) Can v use it in RHS? (Example)
3) Can v call static Java methods written inside a Java class from RHS?

Plz reply A.F.A.P.
Jojan

-- 
View this message in context:
http://www.nabble.com/Java-methods-in-LHS---tf3847110.html#a10895937
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list