abstract fun getBoolean(key: String!): Boolean
(source)
Get a boolean from this configuration.
key
- String!: 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
Boolean: The value.