config / org.apache.tuweni.config / Schema / getDefaultListOfLong

getDefaultListOfLong

@Nullable fun getDefaultListOfLong(key: String): MutableList<Long>? (source)

Get a default value from this configuration as a list of longs.

Parameters

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

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a list of longs.

Return
The value, or null if no default was available.