Hi,
I am a newbie to Drools. Can anyone give me some inputs on
1) How to access a static variable constant from java file into drl file.
say a static constant is declared in a java file VCRuleServiceConstants.java
public static final double
ORDER_AMOUNT_FOP_REVIEWED_ADD_TO_EXISTING_ORDER_TIER1 = 100000;
How to access this variable in the drl file.
Since its not an instance variable of that class, even if I insert as a
"fact", unable to access the variable in drl file.
I can very well use the constant value directly in the drl file, but wanted
to know.
Please do suggest me some options available.
--
View this message in context: http://drools.46999.n3.nabble.com/Access-a-static-variable-from-Java-file-to-DRL-File-tp4023641p4023645.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev