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