Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method | Description |
---|---|---|
protected C |
TransportCommand.configure(Transport transport) |
Configure transport with credentials provider, timeout, and config
callback
|
void |
TransportConfigCallback.configure(Transport transport) |
Add any additional transport-specific configuration required.
|
Modifier and Type | Class | 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.
|
class |
TransportAmazonS3 |
Transport over the non-Git aware Amazon S3 protocol.
|
class |
TransportBundleStream |
Single shot fetch from a streamed Git bundle.
|
class |
TransportGitSsh |
Transport through an SSH tunnel.
|
class |
TransportHttp |
Transport over HTTP and FTP protocols.
|
class |
TransportSftp |
Transport over the non-Git aware SFTP (SSH based FTP) protocol.
|
Modifier and Type | Method | Description |
---|---|---|
static Transport |
Transport.open(Repository local,
String remote) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
String remote,
Transport.Operation op) |
Open a new transport instance to connect two repositories.
|
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,
URIish uri) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri,
String remoteName) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(URIish uri) |
Open a new transport with no local repository.
|
Transport |
TransportProtocol.open(URIish uri) |
Open a new transport instance to the remote repository.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
String remoteName) |
Open a Transport instance to the other repository.
|
Modifier and Type | Method | Description |
---|---|---|
static List<Transport> |
Transport.openAll(Repository local,
String remote) |
Open new transport instances to connect two repositories.
|
static List<Transport> |
Transport.openAll(Repository local,
String remote,
Transport.Operation op) |
Open new transport instances to connect two repositories.
|
static List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg) |
Open new transport instances to connect two repositories.
|
static List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg,
Transport.Operation op) |
Open new transport instances to connect two repositories.
|
Copyright © 2018. All rights reserved.