Annotation Interface 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 Elements
    Modifier and Type
    Required Element
    Description
    The name of the store that backs the repositories.
    The required repository type.
  • Element Details

    • store

      String store
      The name of the store that backs the repositories.
      Returns:
      the store
    • type

      The required repository type.
      Returns:
      the required repository type