prefix property

String? prefix
final

Optional prefix to prepend to the property name(s).

For example, prefix server with name port will match server.port.

Example:

@ConditionalOnProperty(
  prefix: 'server',
  names: ['ssl.enabled', 'ssl.enabled2'],
  havingValue: 'true',
)
class SslServerConfig {}

Implementation

final String? prefix;