Re: [rules-users] import static class?

2010-01-07 Thread Jane James
Yes, you can. http://java.sun.com/j2se/1.5.0/docs/guide/language/static-import.html - Original Message From: HonorGod To: rules-users@lists.jboss.org Sent: Tue, January 5, 2010 8:04:14 AM Subject: Re: [rules-users] import static class? You cannot use the constants without

Re: [rules-users] import static class?

2010-01-05 Thread HonorGod
_NAME in my rules. > > > > - Original Message > From: HonorGod > To: rules-users@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 &

Re: [rules-users] import static class?

2010-01-04 Thread Jane James
: 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

Re: [rules-users] import static class?

2009-12-22 Thread HonorGod
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 s

[rules-users] import static class?

2009-12-22 Thread Jane James
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