abstract fun getBoolean(key: String): Boolean
(source)
Get a boolean from this configuration.
key
- A configuration key (e.g. "server.active"
).
IllegalArgumentException
- If the key cannot be parsed.
InvalidConfigurationPropertyTypeException
- If the value is not a boolean.
NoConfigurationPropertyException
- If the key was not set in the configuration.
Return
The value.