config / org.apache.tuweni.config / Configuration / getListOfLong

getListOfLong

abstract fun getListOfLong(key: String): MutableList<Long> (source)

Get a list of longs 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 longs.

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

Return
The value.