getStringValue

fun getStringValue(primaryKey: String, defaultValue: String?): String?

Return

the value for the given key if found in either the configuration cache (if the key has already been retrieved), the override cache (if the override key is present in cache), or the XML. Returns defaultValue if not found in these locations. The primary key will take precedence over the secondary key.

Parameters

primaryKey

the primary key for the desired value

defaultValue

the default value to return if the key is not found in the configuration cache or XML