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(a)barclayscapital.com>
To: rules-users(a)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(a)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-tp96386p9804...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users