[rules-users] import static class?

Jane James jane6210 at yahoo.com
Mon Jan 4 14:40:59 EST 2010


Thanks, I know I can use the static constants, but I'll have to use ClassName.CONSTANT_NAME which is a pain, I was wondering if I can do a static import, then just refer them as CONSTANT_NAME in my rules. 



----- Original Message ----
From: HonorGod <jagadeesh.motamarri at barclayscapital.com>
To: rules-users at lists.jboss.org
Sent: Tue, December 22, 2009 8:55:54 PM
Subject: Re: [rules-users] import static class?


You can definitely use your static constants in decision table or in drl
files.



Jane James wrote:
> 
> Can we do a import static MyClass in drools? I have a class only contains
> some constants that to be referenced in my rules, but I can't import
> static the class. I am wondering if this is supported or not. 
> 
> thanks
> 
> 
> 
>      
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://n3.nabble.com/verifying-is-not-null-in-decision-table-tp96386p98042.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



      



More information about the rules-users mailing list