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.booleanisPathMatching(Repository repository, String path) Returnstrueif the path matches the repository.
-
Method Details
-
isPathMatching
Returnstrueif the path matches the repository.- Parameters:
repository- repositorypath- requested path without context and without type information extracted from uri- Returns:
trueif the path matches
-
getType
String getType()Returns the type of repository for which the matcher is responsible.
-