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 - A configuration key (e.g. "server.active").

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a map.

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