spring-framework / org.springframework.test.annotation / ProfileValueSourceConfiguration

ProfileValueSourceConfiguration

@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) @Inherited class ProfileValueSourceConfiguration

ProfileValueSourceConfiguration is a class-level annotation which is used to specify what type of ProfileValueSource to use when retrieving profile values configured via the IfProfileValue annotation.

As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.

Author
Sam Brannen

Since
2.5

See Also
ProfileValueSourceIfProfileValueProfileValueUtils

Constructors

<init>

ProfileValueSourceConfiguration(value: KClass<out ProfileValueSource>)

ProfileValueSourceConfiguration is a class-level annotation which is used to specify what type of ProfileValueSource to use when retrieving profile values configured via the IfProfileValue annotation.

As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.

Properties

value

val value: KClass<out ProfileValueSource>

The type of ProfileValueSource to use when retrieving profile values.