tuweni / org.apache.tuweni.config / Schema / getDefaultList

getDefaultList

@Nullable fun getDefaultList(key: String): MutableList<Any>? (source)

Get a default value from this configuration as a list.

Parameters

key - A configuration key (e.g. "server.common_names").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

InvalidConfigurationPropertyTypeException - If the default value is not a list.

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