Interface RepositoryLayoutProvider
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
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) Tries to retrieve a repository layout for the specified remote repository.
-
Method Details
-
newRepositoryLayout
RepositoryLayout newRepositoryLayout(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.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:
org.eclipse.aether.transfer.NoRepositoryLayoutException
- If none of the installed layout factories can provide a repository layout for the specified remote repository.
-