You cannot use the constants without classname. Jane James wrote: > > 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 <[email protected]> > To: [email protected] > 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 >> [email protected] >> 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
-- View this message in context: http://n3.nabble.com/verifying-is-not-null-in-decision-table-tp96386p109898.html Sent from the Drools - User mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
