Package org.eclipse.aether.impl
Interface RepositoryConnectorProvider
- All Known Implementing Classes:
DefaultRepositoryConnectorProvider
public interface RepositoryConnectorProvider
Retrieves a repository connector from the installed repository connector factories.
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
- Provisional:
- This type is provisional and can be changed, moved or removed without prior notice.
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.spi.connector.RepositoryConnector
newRepositoryConnector
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) Tries to create a repository connector for the specified remote repository.
-
Method Details
-
newRepositoryConnector
org.eclipse.aether.spi.connector.RepositoryConnector newRepositoryConnector(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.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:
org.eclipse.aether.transfer.NoRepositoryConnectorException
- If no available factory can create a connector for the specified remote repository.
-