public interface TransporterProvider
| Modifier and Type | Method and Description |
|---|---|
Transporter |
newTransporter(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a transporter for the specified remote repository.
|
Transporter newTransporter(RepositorySystemSession session, RemoteRepository repository) throws 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.NoTransporterException - If none of the installed transporter factories can provide a transporter for the
specified remote repository.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.