@Nullable fun getDefaultInteger(key: String!): Int?
(source)
Get a default value from this configuration as a integer.
key
- String!: A configuration key (e.g. "server.address.port"
).
InvalidConfigurationPropertyTypeException
- If the default value is not an integer.
Return
Int?: The value, or null if no default was available.