Interface RepositoryLayoutProvider
- All Known Implementing Classes:
 DefaultRepositoryLayoutProvider
public interface RepositoryLayoutProvider
Retrieves a repository layout from the installed layout factories.
- Restriction:
 - This interface is not intended to be extended by clients.
 - Restriction:
 - This interface is not intended to be implemented by clients.
 
- 
Method Summary
Modifier and TypeMethodDescriptionnewRepositoryLayout(RepositorySystemSession session, RemoteRepository repository) Tries to retrieve a repository layout for the specified remote repository. 
- 
Method Details
- 
newRepositoryLayout
RepositoryLayout newRepositoryLayout(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException 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 benull.repository- The remote repository to create a layout for, must not benull.- 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.
 
 -