tuweni / org.apache.tuweni.config / Schema / getDefaultListOfInteger

getDefaultListOfInteger

@Nullable fun getDefaultListOfInteger(key: String!): MutableList<Int!>? (source)

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

Parameters

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

Exceptions

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

Return
MutableList<Int!>?: The value, or null if no default was available.