Annotation Type ProfileValueSourceConfiguration
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface ProfileValueSourceConfiguration
ProfileValueSourceConfiguration
is a class-level annotation for use with JUnit 4 which is used to specify what type ofProfileValueSource
to use when retrieving profile values configured via@IfProfileValue
.This annotation may be used as a meta-annotation to create custom composed annotations.
- Since:
- 2.5
- Author:
- Sam Brannen
- See Also:
ProfileValueSource
,IfProfileValue
,ProfileValueUtils
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends ProfileValueSource>
value
The type ofProfileValueSource
to use when retrieving profile values.
Element Detail
value
Class<? extends ProfileValueSource> value
The type ofProfileValueSource
to use when retrieving profile values.- See Also:
SystemProfileValueSource
- Default:
- org.springframework.test.annotation.SystemProfileValueSource.class