[rules-users] How to create global functions?
Mark Proctor
mproctor at codehaus.org
Tue Apr 14 08:33:55 EDT 2009
dhai wrote:
> Is it possible to create functions global and call them from various .drl
> files? I have common code that I want to call from various consequences of
> rules written in separate .drl files. I do not want to write helper Java
> class.
>
functions are currently scoped to their package namespace. You can
always use static methods on a class in external java code and import
those from any .drl.
Mark
More information about the rules-users
mailing list