config / org.apache.tuweni.config / Configuration / getListOfInteger

getListOfInteger

abstract fun getListOfInteger(key: String): MutableList<Int> (source)

Get a list of integers from this configuration.

Parameters

key - A configuration key (e.g. "server.address.ports").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

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

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

Return
The value.