public interface RepositoryConnectorFactory
newInstance(RepositorySystemSession, RemoteRepository) on them. The first connector returned by a factory
will then be used for the transfer.| Modifier and Type | Method and Description |
|---|---|
float |
getPriority()
The priority of this factory.
|
RepositoryConnector |
newInstance(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
RepositoryConnector newInstance(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoRepositoryConnectorException
RemoteRepository.getProtocol() and RemoteRepository.getContentType() to determine whether it can
handle a repository.session - The repository system session from which to configure the connector, must not be null. In
particular, a connector must notify any RepositorySystemSession.getTransferListener() set for
the session and should obey the timeouts configured for the session.repository - The remote repository to create a connector for, must not be null.null.org.eclipse.aether.transfer.NoRepositoryConnectorException - If the factory cannot create a connector for the specified remote
repository.float getPriority()
Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.