Interface RepositoryDetectionStrategy

All Known Implementing Classes:
RepositoryDetectionStrategy.RepositoryDetectionStrategies

public interface RepositoryDetectionStrategy
The strategy to determine whether a given repository is to be exported by Spring Data REST.
Since:
2.5
Author:
Oliver Gierke, Tobias Weiß
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    A variety of strategies to determine repository exposure.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isExported(org.springframework.data.repository.core.RepositoryMetadata metadata)
    Returns whether the repository described by the given RepositoryMetadata is exported or not.
  • Method Details

    • isExported

      boolean isExported(org.springframework.data.repository.core.RepositoryMetadata metadata)
      Returns whether the repository described by the given RepositoryMetadata is exported or not.
      Parameters:
      metadata - must not be null.
      Returns: