ConfigurationPropertiesScan

Configures the base packages used when scanning for @ConfigurationProperties classes. One of basePackageClasses, basePackages or its alias value may be specified to define specific packages to scan. If specific packages are not defined scanning will occur from the package of the class with this annotation.

Note: Classes annotated or meta-annotated with @Component will not be picked up by this annotation.

Author

Madhura Bhave

Since

2.2.0

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun basePackageClasses(): Array<Class<out Any>>
Type-safe alternative to basePackages for specifying the packages to scan for configuration properties.
Link copied to clipboard
@AliasFor(value = "value")
abstract fun basePackages(): Array<String>
Base packages to scan for configuration properties.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@AliasFor(value = "basePackages")
abstract fun value(): Array<String>
Alias for the basePackages attribute.