zumult-org / zumultapi

1 stars 0 forks source link

Allow custom configuration variables #192

Closed berndmoos closed 9 months ago

berndmoos commented 9 months ago

See also #174 and #169.

The current implementation of Configuration.java wants new code for every new configuration variable. There could be a method like

static String getCofigurationVariable(String variableName) which returns the text value of any <variableName>textValue</variableName>

This is to make it easier to introduce additional variables for specific applications. For example, I need a TreeTaggerDirectory for TGDP. This has nothing to do with general ZuMult functionality, but it would be convenient to be able to have it in the central Configuration.xml

berndmoos commented 9 months ago

Introduced new method as described in initial comment. Should not break existing funcionality.