config / org.apache.tuweni.config / Configuration / getListOfMap

getListOfMap

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

Get a list of maps from this configuration.

Parameters

key - A configuration key (e.g. "mainnet.servers").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

InvalidConfigurationPropertyTypeException - If the value is not a list of maps.

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

Return
The value.