config / org.apache.tuweni.config / Configuration / getMap

getMap

abstract fun getMap(key: String): MutableMap<String, Any> (source)

Get a map from this configuration.

Parameters

key - A configuration key (e.g. "server.active").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

InvalidConfigurationPropertyTypeException - If the value is not a map.

NoConfigurationPropertyException - If the key was not set in the configuration.

Return
The value.