[rules-users] util drl function
Edson Tirelli
tirelli at post.com
Sat Mar 14 19:41:24 EDT 2009
Why not having your functions as static methods in a java class itself?
this way all you need to do is an import function in the DRLs that use it
and you will not have any errors... also, it is best to maintain java code
in java classes IMO. DRL functions are not intended for library development,
but for quick code snippets local to your rules.
my .02c
[]s
Edson
2009/3/14 techy <techluver007 at gmail.com>
>
> Hello,
> I would like to have all drools utility function in one drl file(static drl
> like static util class) and would like to refer to them all there drl
> without getting eclipse compilation error.
> Is it possible?
>
> Thanks for the help.
> --
> View this message in context:
> http://www.nabble.com/util-drl-function-tp22517646p22517646.html
> 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
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090314/8e6c6b9d/attachment.html
More information about the rules-users
mailing list