havingValue property
The expected value the property must equal for the condition to match.
If omitted, the property must not be 'false'
.
Example:
@ConditionalOnProperty(
prefix: 'server',
names: ['ssl.enabled', 'ssl.enabled2'],
havingValue: 'true',
)
class SslServerConfig {}
Implementation
final String? havingValue;