Package sonia.scm.repository
Interface RepositoryPathMatcher
@ExtensionPoint
public interface RepositoryPathMatcher
ExtensionPoint to modify the path matching behaviour for a certain type of repositories.
- Since:
- 1.54
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the type of repository for which the matcher is responsible.boolean
isPathMatching
(Repository repository, String path) Returnstrue
if the path matches the repository.
-
Method Details
-
isPathMatching
Returnstrue
if the path matches the repository.- Parameters:
repository
- repositorypath
- requested path without context and without type information extracted from uri- Returns:
true
if the path matches
-
getType
String getType()Returns the type of repository for which the matcher is responsible.
-