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.

Author

Phillip Webb

Scott Frederick

Since

1.3.0

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun reason(): String
The reason for the deprecation.
Link copied to clipboard
abstract fun replacement(): String
The field that should be used instead (if any).
Link copied to clipboard
abstract fun since(): String
The version in which the property became deprecated.
Link copied to clipboard
abstract fun toString(): String