tuweni / org.apache.tuweni.config / Schema / getDefaultString

getDefaultString

@Nullable fun getDefaultString(key: String!): String? (source)

Get a default value from this configuration as a string.

Parameters

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

Exceptions

InvalidConfigurationPropertyTypeException - If the default value is not a string.

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