Class JGitTransportConfigCallback

  • All Implemented Interfaces:
    org.eclipse.jgit.api.TransportConfigCallback

    public class JGitTransportConfigCallback
    extends java.lang.Object
    implements org.eclipse.jgit.api.TransportConfigCallback
    Implementation of TransportConfigCallback which adds a public/private key identity to ssh URLs if configured.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.jgit.transport.sshd.SshdSessionFactory sshSessionFactory  
    • Constructor Summary

      Constructors 
      Constructor Description
      JGitTransportConfigCallback​(org.eclipse.jgit.transport.sshd.SshdSessionFactory sshSessionFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.eclipse.jgit.transport.Transport transport)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sshSessionFactory

        private final org.eclipse.jgit.transport.sshd.SshdSessionFactory sshSessionFactory
    • Constructor Detail

      • JGitTransportConfigCallback

        public JGitTransportConfigCallback​(org.eclipse.jgit.transport.sshd.SshdSessionFactory sshSessionFactory)
    • Method Detail

      • configure

        public void configure​(org.eclipse.jgit.transport.Transport transport)
        Specified by:
        configure in interface org.eclipse.jgit.api.TransportConfigCallback