public interface RepositoryConnectorProvider
Modifier and Type | Method and Description |
---|---|
org.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.
|
org.eclipse.aether.spi.connector.RepositoryConnector newRepositoryConnector(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoRepositoryConnectorException
session
- The repository system session from which to configure the connector, must not be null
.repository
- The remote repository to create a connector for, must not be null
.null
.org.eclipse.aether.transfer.NoRepositoryConnectorException
- If no available factory can create a connector for the specified remote
repository.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.