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
Required Element Summary
Required Elements Modifier and Type Required Element Description String
store
The name of the store that backs the repositories.RepositoryType
type
The required repository type.
type
RepositoryType type
The required repository type.- Returns:
- the required repository type