public interface TransporterProvider
Modifier and Type | Method and Description |
---|---|
Transporter |
newTransporter(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
Tries to create a transporter for the specified remote repository.
|
Transporter newTransporter(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException
session
- The repository system session from which to configure the transporter, must not be null
.repository
- The remote repository to create a transporter for, must not be null
.null
.org.eclipse.aether.transfer.NoTransporterException
- If none of the installed transporter factories can provide a transporter for the
specified remote repository.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.