Package org.eclipse.aether.impl
Interface RepositoryConnectorProvider
-
- All Known Implementing Classes:
DefaultRepositoryConnectorProvider
public interface RepositoryConnectorProviderRetrieves a repository connector from the installed repository connector factories.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepositoryConnectornewRepositoryConnector(RepositorySystemSession session, RemoteRepository repository)Tries to create a repository connector for the specified remote repository.
-
-
-
Method Detail
-
newRepositoryConnector
RepositoryConnector newRepositoryConnector(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryConnectorException
Tries to create a repository connector for the specified remote repository.- Parameters:
session- The repository system session from which to configure the connector, must not benull.repository- The remote repository to create a connector for, must not benull.- Returns:
- The connector for the given repository, never
null. - Throws:
NoRepositoryConnectorException- If no available factory can create a connector for the specified remote repository.
-
-