Annotation Type ConditionalOnRepositoryType
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@Conditional(org.springframework.boot.autoconfigure.data.OnRepositoryTypeCondition.class)
public @interface ConditionalOnRepositoryType
@Conditional
that only matches when a particular type of Spring
Data repository has been enabled.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe name of the store that backs the repositories.The required repository type.
-
Element Details
-
store
String storeThe name of the store that backs the repositories.- Returns:
- the store
-
type
RepositoryType typeThe required repository type.- Returns:
- the required repository type
-