Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
void |
TransportConfigCallback.configure(Transport transport)
Add any additional transport-specific configuration required.
|
protected C |
TransportCommand.configure(Transport transport)
Configure transport with credentials provider, timeout, and config
callback
|
Modifier and Type | Method and Description |
---|---|
private void |
RemoteGitReplica.fetch(Transport transport,
ReplicaFetchRequest req) |
private java.util.Map<java.lang.String,Ref> |
RemoteGitReplica.push(Repository git,
Transport transport,
java.util.List<RemoteGitReplica.RemoteCommand> cmds) |
Modifier and Type | Class and Description |
---|---|
class |
HttpTransport
The base class for transports that use HTTP as underlying protocol.
|
class |
SshTransport
The base class for transports that use SSH protocol.
|
class |
TcpTransport
The base class for transports based on TCP sockets.
|
private class |
TestProtocol.TransportInternal |
class |
TransportAmazonS3
Transport over the non-Git aware Amazon S3 protocol.
|
(package private) class |
TransportBundleFile |
class |
TransportBundleStream
Single shot fetch from a streamed Git bundle.
|
(package private) class |
TransportGitAnon
Transport through a git-daemon waiting for anonymous TCP connections.
|
class |
TransportGitSsh
Transport through an SSH tunnel.
|
class |
TransportHttp
Transport over HTTP and FTP protocols.
|
(package private) class |
TransportLocal
Transport to access a local directory as though it were a remote peer.
|
class |
TransportSftp
Transport over the non-Git aware SFTP (SSH based FTP) protocol.
|
Modifier and Type | Field and Description |
---|---|
private Transport |
WalkPushConnection.transport
The configured transport we were constructed by.
|
private Transport |
PushProcess.transport
Transport used to perform this operation.
|
private Transport |
BundleFetchConnection.transport |
protected Transport |
BasePackConnection.transport
A transport connected to
BasePackConnection.uri . |
private Transport |
FetchProcess.transport
Transport we will fetch over.
|
Modifier and Type | Method and Description |
---|---|
static Transport |
Transport.open(Repository local,
RemoteConfig cfg)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
RemoteConfig cfg,
Transport.Operation op)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote,
Transport.Operation op)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri)
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri,
java.lang.String remoteName)
Open a new transport instance to connect two repositories.
|
Transport |
TransportProtocol.open(URIish uri)
Open a new transport instance to the remote repository.
|
static Transport |
Transport.open(URIish uri)
Open a new transport with no local repository.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName)
Open a Transport instance to the other repository.
|
Transport |
TestProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName)
Open a Transport instance to the other repository.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg,
Transport.Operation op)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote)
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote,
Transport.Operation op)
Open new transport instances to connect two repositories.
|
Constructor and Description |
---|
BundleFetchConnection(Transport transportBundle,
java.io.InputStream src) |
FetchProcess(Transport t,
java.util.Collection<RefSpec> f) |
PushProcess(Transport transport,
java.util.Collection<RemoteRefUpdate> toPush)
Create process for specified transport and refs updates specification.
|
PushProcess(Transport transport,
java.util.Collection<RemoteRefUpdate> toPush,
java.io.OutputStream out)
Create process for specified transport and refs updates specification.
|