Package | Description |
---|---|
org.eclipse.jgit.errors | |
org.eclipse.jgit.transport |
Constructor and Description |
---|
MissingBundlePrerequisiteException(URIish uri,
java.util.Map<ObjectId,java.lang.String> missingCommits)
Constructs a MissingBundlePrerequisiteException for a set of objects.
|
NoRemoteRepositoryException(URIish uri,
java.lang.String s)
Constructs an exception indicating a repository does not exist.
|
PackProtocolException(URIish uri,
java.lang.String s)
Constructs an PackProtocolException with the specified detail message
prefixed with provided URI.
|
PackProtocolException(URIish uri,
java.lang.String s,
java.lang.Throwable cause)
Constructs an PackProtocolException with the specified detail message
prefixed with provided URI.
|
RemoteRepositoryException(URIish uri,
java.lang.String message)
Constructs a RemoteRepositoryException for a message.
|
TransportException(URIish uri,
java.lang.String s)
Constructs an TransportException with the specified detail message
prefixed with provided URI.
|
TransportException(URIish uri,
java.lang.String s,
java.lang.Throwable cause)
Constructs an TransportException with the specified detail message
prefixed with provided URI.
|
UnsupportedCredentialItem(URIish uri,
java.lang.String s)
Constructs an UnsupportedCredentialItem with the specified detail message
prefixed with provided URI.
|
Modifier and Type | Field and Description |
---|---|
protected URIish |
Transport.uri
The URI used to create this transport.
|
Modifier and Type | Method and Description |
---|---|
URIish |
Transport.getURI()
Get the URI this transport connects to.
|
URIish |
OperationResult.getURI()
Get the URI this result came from.
|
URIish |
URIish.setHost(java.lang.String n)
Return a new URI matching this one, but with a different host.
|
URIish |
URIish.setPass(java.lang.String n)
Return a new URI matching this one, but with a different password.
|
URIish |
URIish.setPath(java.lang.String n)
Return a new URI matching this one, but with a different path.
|
URIish |
URIish.setPort(int n)
Return a new URI matching this one, but with a different port.
|
URIish |
URIish.setRawPath(java.lang.String n)
Return a new URI matching this one, but with a different (raw) path.
|
URIish |
URIish.setScheme(java.lang.String n)
Return a new URI matching this one, but with a different scheme.
|
URIish |
URIish.setUser(java.lang.String n)
Return a new URI matching this one, but with a different user.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<URIish> |
RemoteConfig.getPushURIs()
Get all configured push-only URIs under this remote.
|
java.util.List<URIish> |
RemoteConfig.getURIs()
Get all configured URIs under this remote.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RemoteConfig.addPushURI(URIish toAdd)
Add a new push-only URI to the end of the list of URIs.
|
boolean |
RemoteConfig.addURI(URIish toAdd)
Add a new URI to the end of the list of URIs.
|
boolean |
TransportProtocol.canHandle(URIish uri)
Determine if this protocol can handle a particular URI.
|
boolean |
TransportProtocol.canHandle(URIish uri,
Repository local,
java.lang.String remoteName)
Determine if this protocol can handle a particular URI.
|
abstract boolean |
CredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
boolean |
UsernamePasswordCredentialsProvider.get(URIish uri,
CredentialItem... items) |
boolean |
CredentialsProvider.get(URIish uri,
java.util.List<CredentialItem> items)
Ask for the credential items to be populated.
|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
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.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName)
Open a Transport instance to the other repository.
|
boolean |
RemoteConfig.removePushURI(URIish toRemove)
Remove a push-only URI from the list of URIs.
|
boolean |
RemoteConfig.removeURI(URIish toRemove)
Remove a URI from the list of URIs.
|
void |
CredentialsProvider.reset(URIish uri)
Reset the credentials provider for the given URI
|
Constructor and Description |
---|
HttpTransport(Repository local,
URIish uri)
Create a new transport instance.
|
JschSession(com.jcraft.jsch.Session session,
URIish uri)
Create a new session object by passing the real Jsch session and the URI
information.
|
SshTransport(Repository local,
URIish uri)
Create a new transport instance.
|
TcpTransport(Repository local,
URIish uri)
Create a new transport instance.
|
Transport(Repository local,
URIish uri)
Create a new transport instance.
|
TransportBundleStream(Repository db,
URIish uri,
java.io.InputStream in)
Create a new transport to fetch objects from a streamed bundle.
|
Copyright © 2012. All Rights Reserved.