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
Modifier and TypeInterfaceDescriptionstatic enum
A variety of strategies to determine repository exposure. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isExported
(RepositoryMetadata metadata) Returns whether the repository described by the givenRepositoryMetadata
is exported or not.
-
Method Details
-
isExported
Returns whether the repository described by the givenRepositoryMetadata
is exported or not.- Parameters:
metadata
- must not be null.- Returns:
-