Package org.jenkinsci.plugins.gitserver
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
ConstructorDescriptionChannelTransport
(org.eclipse.jgit.lib.Repository local, FilePath remoteRepository) -
Method Summary
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
-
Constructor Details
-
ChannelTransport
public ChannelTransport(org.eclipse.jgit.lib.Repository local, FilePath remoteRepository) throws URISyntaxException - Throws:
URISyntaxException
-
-
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 classorg.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 classorg.eclipse.jgit.transport.Transport
- Throws:
org.eclipse.jgit.errors.NotSupportedException
org.eclipse.jgit.errors.TransportException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classorg.eclipse.jgit.transport.Transport
-