public interface TransportConfigCallback
This allows consumers of the JGit command API to perform custom configuration that would be difficult anticipate and expose on the API command builders.
For instance, if a client needs to replace the SshSessionFactorys on any SSHTransport used (eg to control available SSH identities), they can set the TransportConfigCallback on the JGit API command - once the transport has been created by the command, the callback will be invoked and passed the transport instance, which the client can then inspect and configure as necessary.
Modifier and Type | Method and Description |
---|---|
void |
configure(Transport transport)
Add any additional transport-specific configuration required.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.