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 configuration-processor to add deprecation
meta-data.
This annotation must be used on the getter of the deprecated element.
- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Harry Yang
-
可选元素概要
可选元素修饰符和类型可选元素说明The reason for the deprecation.The field that should be used instead (if any).