Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.awtui | |
org.eclipse.jgit.console | |
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.junit.http | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
RemoteAddCommand |
RemoteAddCommand.setUri(URIish uri)
The URL of the repository for the new remote.
|
void |
RemoteSetUrlCommand.setUri(URIish uri)
The new URL for the remote.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AwtCredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConsoleCredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
Constructor and Description |
---|
MissingBundlePrerequisiteException(URIish uri,
Map<ObjectId,String> missingCommits)
Constructs a MissingBundlePrerequisiteException for a set of objects.
|
NoRemoteRepositoryException(URIish uri,
String s)
Constructs an exception indicating a repository does not exist.
|
PackProtocolException(URIish uri,
String s)
Constructs an PackProtocolException with the specified detail message
prefixed with provided URI.
|
PackProtocolException(URIish uri,
String s,
Throwable cause)
Constructs an PackProtocolException with the specified detail message
prefixed with provided URI.
|
RemoteRepositoryException(URIish uri,
String message)
Constructs a RemoteRepositoryException for a message.
|
TooLargeObjectInPackException(URIish uri,
String s)
Construct a too large object in pack exception.
|
TooLargePackException(URIish uri,
String s)
Construct a too large pack exception.
|
TransportException(URIish uri,
String s)
Constructs an TransportException with the specified detail message
prefixed with provided URI.
|
TransportException(URIish uri,
String s,
Throwable cause)
Constructs an TransportException with the specified detail message
prefixed with provided URI.
|
UnsupportedCredentialItem(URIish uri,
String s)
Constructs an UnsupportedCredentialItem with the specified detail message
prefixed with provided URI.
|
Modifier and Type | Method and Description |
---|---|
URIish |
RemoteGitReplica.getURI()
Get URI to contact the remote peer repository.
|
Constructor and Description |
---|
RemoteGitReplica(KetchLeader leader,
String name,
URIish uri,
ReplicaConfig cfg,
RemoteConfig rc)
Configure a new remote.
|
Modifier and Type | Method and Description |
---|---|
protected static URIish |
HttpTestCase.extendPath(URIish uri,
String pathComponents)
Extend a path
|
URIish |
SimpleHttpServer.getSecureUri()
Get the
secureUri . |
URIish |
SimpleHttpServer.getUri()
Get the
uri . |
protected URIish |
HttpTestCase.toURIish(org.eclipse.jetty.servlet.ServletContextHandler app,
String name)
Convert a path relative to the app's context path to a URIish
|
protected URIish |
HttpTestCase.toURIish(String path)
Convert path to URIish
|
Modifier and Type | Method and Description |
---|---|
protected static URIish |
HttpTestCase.extendPath(URIish uri,
String pathComponents)
Extend a path
|
List<AccessEvent> |
AppServer.getRequests(URIish base,
String path)
Get requests.
|
protected List<AccessEvent> |
HttpTestCase.getRequests(URIish base,
String path)
Get requests.
|
static String |
HttpTestCase.join(URIish base,
String path)
Join a base URIish and a path
|
static String |
HttpTestCase.loose(URIish base,
AnyObjectId id)
Create loose object path
|
Modifier and Type | Field and Description |
---|---|
protected URIish |
Transport.uri
The URI used to create this transport.
|
Modifier and Type | Method and Description |
---|---|
URIish |
OperationResult.getURI()
Get the URI this result came from.
|
URIish |
Transport.getURI()
Get the URI this transport connects to.
|
URIish |
TestProtocol.register(C req,
Repository remote)
Register a repository connection over the internal test protocol.
|
URIish |
URIish.setHost(String n)
Return a new URI matching this one, but with a different host.
|
URIish |
URIish.setPass(String n)
Return a new URI matching this one, but with a different password.
|
URIish |
URIish.setPath(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(String n)
Return a new URI matching this one, but with a different (raw) path.
|
URIish |
URIish.setScheme(String n)
Return a new URI matching this one, but with a different scheme.
|
URIish |
URIish.setUser(String n)
Return a new URI matching this one, but with a different user.
|
Modifier and Type | Method and Description |
---|---|
List<URIish> |
RemoteConfig.getPushURIs()
Get all configured push-only URIs under this remote.
|
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,
String remoteName)
Determine if this protocol can handle a particular URI.
|
boolean |
ChainingCredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
boolean |
UsernamePasswordCredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
abstract boolean |
CredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
boolean |
NetRCCredentialsProvider.get(URIish uri,
CredentialItem... items)
Ask for the credential items to be populated.
|
boolean |
CredentialsProvider.get(URIish uri,
List<CredentialItem> items)
Ask for the credential items to be populated.
|
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.
|
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.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
String remoteName)
Open a Transport instance to the other repository.
|
Transport |
TestProtocol.open(URIish uri,
Repository local,
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
|
protected void |
TransportHttp.setURI(URIish uri)
Set uri a
URIish object. |
Constructor and Description |
---|
HttpConfig(Config config,
URIish uri)
Creates a new
HttpConfig tailored to
the given URIish . |
HttpConfig(URIish uri)
Creates a
HttpConfig that reads values
solely from the user config. |
HttpTransport(Repository local,
URIish uri)
Create a new transport instance.
|
HttpTransport(URIish uri)
Create a minimal HTTP transport instance not tied to a single repository.
|
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.
|
SshTransport(URIish uri)
Create a new transport instance without a local repository.
|
TcpTransport(Repository local,
URIish uri)
Create a new transport instance.
|
TcpTransport(URIish uri)
Create a new transport instance without a local repository.
|
Transport(Repository local,
URIish uri)
Create a new transport instance.
|
Transport(URIish uri)
Create a minimal transport instance not tied to a single repository.
|
TransportBundleStream(Repository db,
URIish uri,
InputStream in)
Create a new transport to fetch objects from a streamed bundle.
|
Modifier and Type | Method and Description |
---|---|
static String |
SshSupport.runSshCommand(URIish sshUri,
CredentialsProvider provider,
FS fs,
String command,
int timeout)
Utility to execute a remote SSH command and read the first line of
output.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.