fun addDefault(key: String, value: Any): SchemaBuilder
(source)
Provide a default value for a property.
Invoking this method with the same key as a previous invocation will replace the default value for that key.
key
- The configuration property key.
value
- The default value for the property.
IllegalArgumentException
- If the key cannot be parsed.
Return
This builder.