Accessing application constants from java action

0
Can we access application constants from java actions directly instead of passing it as a parameter to the java action?
asked
1 answers
4
(String) Core.getConfiguration().getConstantValue("MyFirstModule.MYCONSTANT");
answered