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.
void configure(Transport transport)
transport
- Copyright © 2013. All rights reserved.