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 Type
    Method
    Description
    Returns the type of repository for which the matcher is responsible.
    boolean
    isPathMatching(Repository repository, String path)
    Returns true if the path matches the repository.
  • Method Details

    • isPathMatching

      boolean isPathMatching(Repository repository, String path)
      Returns true if the path matches the repository.
      Parameters:
      repository - repository
      path - 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.