tuweni / org.apache.tuweni.config / Schema / getDefaultMap

getDefaultMap

@Nullable fun getDefaultMap(key: String!): MutableMap<String!, Any!>? (source)

Get a default value from this configuration as a map.

Parameters

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

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a map.

Return
MutableMap<String!, Any!>?: The value, or null if no default was available.