Annotation Interface DeprecatedConfigurationProperty
Indicates that a getter in a
@ConfigurationProperties
object is deprecated. This annotation has no bearing on the actual binding processes,
but it is used by the spring-boot-configuration-processor
to add deprecation
meta-data.
This annotation must be used on the getter of the deprecated element.
- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe reason for the deprecation.The field that should be used instead (if any).