Package | Description |
---|---|
org.eclipse.jgit.errors |
Exceptions thrown by lower-level JGit APIs.
|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.transport.sshd |
Modifier and Type | Class and Description |
---|---|
class |
MissingBundlePrerequisiteException
Indicates a base/common object was required, but is not found.
|
class |
NoRemoteRepositoryException
Indicates a remote repository does not exist.
|
class |
PackProtocolException
Indicates a protocol error has occurred while fetching/pushing objects.
|
class |
RemoteRepositoryException
Contains a message from the remote repository indicating a problem.
|
class |
RepositoryNotFoundException
Indicates a local repository does not exist.
|
class |
TooLargeObjectInPackException
Thrown when PackParser finds an object larger than a predefined limit
|
class |
TooLargePackException
Thrown when a pack exceeds a given size limit
|
Modifier and Type | Method and Description |
---|---|
protected void |
RemoteGitReplica.blockingFetch(Repository repo,
ReplicaFetchRequest req)
Fetch objects from the remote using the calling thread.
|
Modifier and Type | Class and Description |
---|---|
class |
WantNotValidException
Indicates client requested an object the server does not want to serve.
|
Modifier and Type | Method and Description |
---|---|
protected TransportException |
BasePackPushConnection.noRepository()
Create an exception to indicate problems finding a remote repository.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasePackFetchConnection.doFetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream outputStream)
Execute common ancestor negotiation and fetch the objects.
|
protected void |
BasePackPushConnection.doPush(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream outputStream)
Push one or more objects and update the remote repository.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream outputStream)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.
|
FetchResult |
Transport.fetch(ProgressMonitor monitor,
Collection<RefSpec> toFetch)
Fetch objects and refs from the remote repository to the local one.
|
protected RemoteSession |
SshTransport.getSession()
Get the default SSH session
|
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
protected void |
BaseConnection.markStartedOperation()
Helper method for ensuring one-operation per connection.
|
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,
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,
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.
|
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.
|
Transport |
TestProtocol.open(URIish uri,
Repository local,
String remoteName)
Open a Transport instance to the other repository.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
String remoteName)
Open a Transport instance to the other repository.
|
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.
|
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.
|
FetchConnection |
TransportGitSsh.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportSftp.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportBundleStream.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportHttp.openFetch()
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportAmazonS3.openFetch()
Begins a new connection for fetching from the remote repository.
|
abstract FetchConnection |
Transport.openFetch()
Begins a new connection for fetching from the remote repository.
|
PushConnection |
TransportGitSsh.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportSftp.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportHttp.openPush()
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportAmazonS3.openPush()
Begins a new connection for pushing into the remote repository.
|
abstract PushConnection |
Transport.openPush()
Begins a new connection for pushing into the remote repository.
|
PushResult |
Transport.push(ProgressMonitor monitor,
Collection<RemoteRefUpdate> toPush)
Push objects and refs from the local repository to the remote one.
|
PushResult |
Transport.push(ProgressMonitor monitor,
Collection<RemoteRefUpdate> toPush,
OutputStream out)
Push objects and refs from the local repository to the remote one.
|
void |
PushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates)
Pushes to the remote repository basing on provided specification.
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates)
Pushes to the remote repository basing on provided specification.
|
void |
PushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream out)
Pushes to the remote repository basing on provided specification.
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream outputStream)
Pushes to the remote repository basing on provided specification.
|
Modifier and Type | Method and Description |
---|---|
SshdSession |
SshdSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
Copyright © 2019 Eclipse JGit Project. All rights reserved.