[rules-users] How to define static constant variable

Esteban Aliverti esteban.aliverti at gmail.com
Tue Nov 22 08:53:05 EST 2011


Just for curiosity, why do you want to do that?
In DRL you can define global variables. You can then populate these globals
with constant variables from your application.

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Nov 22, 2011 at 12:21 PM, Zhao Yi <zhaoyi0113 at gmail.com> wrote:

> I want to define some static constant variables. How can I declare them in
> rule?
>
> Thanks,
> Zhao Yi
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-define-static-constant-variable-tp3527416p3527416.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111122/6cc35efe/attachment.html 


More information about the rules-users mailing list