Retrieve available constants using Java action?

3
I was wondering if it is possible to retrieve all available constants using a Java action. I know of the method Core.getConfiguration().getConstantValue(key), but I need to find all constants starting with a certain prefix. Any ideas?
asked
1 answers
3

As far as I know, there are no Mendix Java API calls available to achieve this.

I don't know what you're trying to achieve, but normally constants are known beforehand because they're constant ;)

Depending what you need the values for, would JVM parameters (accessible as system properties) or an external properties file do the job?

answered