Interface RepositoryLayoutProvider

All Known Implementing Classes:
DefaultRepositoryLayoutProvider

public interface RepositoryLayoutProvider
Retrieves a repository layout from the installed layout factories.
  • Method Details

    • newRepositoryLayout

      Tries to retrieve a repository layout for the specified remote repository.
      Parameters:
      session - The repository system session from which to configure the layout, must not be null.
      repository - The remote repository to create a layout for, must not be null.
      Returns:
      The layout for the given repository, never null.
      Throws:
      NoRepositoryLayoutException - If none of the installed layout factories can provide a repository layout for the specified remote repository.