Class ChannelTransport

java.lang.Object
org.eclipse.jgit.transport.Transport
org.jenkinsci.plugins.gitserver.ChannelTransport
All Implemented Interfaces:
AutoCloseable, org.eclipse.jgit.transport.PackTransport

public class ChannelTransport extends org.eclipse.jgit.transport.Transport implements org.eclipse.jgit.transport.PackTransport
Transport implementation across pipes.
Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jgit.transport.Transport

    org.eclipse.jgit.transport.Transport.Operation
  • Field Summary

    Fields inherited from class org.eclipse.jgit.transport.Transport

    DEFAULT_FETCH_THIN, DEFAULT_PUSH_THIN, DEFAULT_PUSH_USE_BITMAPS, local, REFSPEC_PUSH_ALL, REFSPEC_TAGS, uri
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChannelTransport(org.eclipse.jgit.lib.Repository local, FilePath remoteRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static org.eclipse.jgit.transport.Transport
    open(org.eclipse.jgit.lib.Repository local, FilePath remoteRepository)
     
    org.eclipse.jgit.transport.FetchConnection
     
    org.eclipse.jgit.transport.PushConnection
     

    Methods inherited from class org.eclipse.jgit.transport.Transport

    applyConfig, fetch, fetch, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, findRemoteRefUpdatesFor, getCredentialsProvider, getDeepenNots, getDeepenSince, getDepth, getFilterBlobLimit, getFilterSpec, getObjectChecker, getOptionReceivePack, getOptionUploadPack, getPackConfig, getPushOptions, getTagOpt, getTimeout, getTransportProtocols, getURI, isCheckFetchedObjects, isDryRun, isFetchThin, isPushAtomic, isPushThin, isPushUseBitmaps, isRemoveDeletedRefs, open, open, open, open, open, open, open, openAll, openAll, openAll, openAll, openFetch, push, push, register, setCheckFetchedObjects, setCredentialsProvider, setDeepenNots, setDeepenSince, setDepth, setDepth, setDryRun, setFetchThin, setFilterBlobLimit, setFilterSpec, setHookErrorStream, setHookOutputStream, setObjectChecker, setOptionReceivePack, setOptionUploadPack, setPackConfig, setPushAtomic, setPushOptions, setPushThin, setPushUseBitmaps, setRemoveDeletedRefs, setTagOpt, setTimeout, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • open

      public static org.eclipse.jgit.transport.Transport open(org.eclipse.jgit.lib.Repository local, FilePath remoteRepository) throws org.eclipse.jgit.errors.NotSupportedException, URISyntaxException, org.eclipse.jgit.errors.TransportException
      Throws:
      org.eclipse.jgit.errors.NotSupportedException
      URISyntaxException
      org.eclipse.jgit.errors.TransportException
    • openFetch

      public org.eclipse.jgit.transport.FetchConnection openFetch() throws org.eclipse.jgit.errors.NotSupportedException, org.eclipse.jgit.errors.TransportException
      Specified by:
      openFetch in class org.eclipse.jgit.transport.Transport
      Throws:
      org.eclipse.jgit.errors.NotSupportedException
      org.eclipse.jgit.errors.TransportException
    • openPush

      public org.eclipse.jgit.transport.PushConnection openPush() throws org.eclipse.jgit.errors.NotSupportedException, org.eclipse.jgit.errors.TransportException
      Specified by:
      openPush in class org.eclipse.jgit.transport.Transport
      Throws:
      org.eclipse.jgit.errors.NotSupportedException
      org.eclipse.jgit.errors.TransportException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class org.eclipse.jgit.transport.Transport