Uses of Class
org.eclipse.jgit.transport.URIish
Packages that use URIish
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by lower-level JGit APIs.
Transport (fetch/push) for different protocols.
Utility classes.
-
Uses of URIish in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type URIishModifier and TypeMethodDescriptionRemoteSetUrlCommand.setRemoteUri
(URIish remoteUri) The new URL for the remote.The URL of the repository for the new remote.void
Deprecated. -
Uses of URIish in org.eclipse.jgit.errors
Constructors in org.eclipse.jgit.errors with parameters of type URIishModifierConstructorDescriptionMissingBundlePrerequisiteException
(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.NoRemoteRepositoryException
(URIish uri, String s, Throwable cause) 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.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. -
Uses of URIish in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as URIishModifier and TypeFieldDescriptionprotected final URIish
BasePackConnection.uri
Remote repository location.protected final URIish
BasePackConnection.uri
Remote repository location.protected final URIish
Transport.uri
The URI used to create this transport.Methods in org.eclipse.jgit.transport that return URIishModifier and TypeMethodDescriptionOperationResult.getURI()
Get the URI this result came from.Transport.getURI()
Get the URI this transport connects to.TestProtocol.register
(C req, Repository remote) Register a repository connection over the internal test protocol.Return a new URI matching this one, but with a different host.Return a new URI matching this one, but with a different password.Return a new URI matching this one, but with a different path.URIish.setPort
(int n) Return a new URI matching this one, but with a different port.URIish.setRawPath
(String n) Return a new URI matching this one, but with a different (raw) path.Return a new URI matching this one, but with a different scheme.Return a new URI matching this one, but with a different user.Methods in org.eclipse.jgit.transport that return types with arguments of type URIishModifier and TypeMethodDescriptionRemoteConfig.getPushURIs()
Get all configured push-only URIs under this remote.RemoteConfig.getURIs()
Get all configured URIs under this remote.Methods in org.eclipse.jgit.transport with parameters of type URIishModifier and TypeMethodDescriptionboolean
RemoteConfig.addPushURI
(URIish toAdd) Add a new push-only URI to the end of the list of URIs.boolean
Add a new URI to the end of the list of URIs.boolean
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
CredentialsProvider.get
(URIish uri, List<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) boolean
UsernamePasswordCredentialsProvider.get
(URIish uri, CredentialItem... items) abstract RemoteSession
SshSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.TestProtocol.open
(URIish uri, Repository local, String remoteName) 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
Open a new transport with no local repository.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.boolean
RemoteConfig.removePushURI
(URIish toRemove) Remove a push-only URI from the list of URIs.boolean
Remove a URI from the list of URIs.void
Reset the credentials provider for the given URIprotected void
Set uri aURIish
object.Constructors in org.eclipse.jgit.transport with parameters of type URIishModifierConstructorDescriptionHttpConfig
(Config config, URIish uri) Creates a newHttpConfig
tailored to the givenURIish
.HttpConfig
(URIish uri) Creates aHttpConfig
that reads values solely from the user config.protected
HttpTransport
(Repository local, URIish uri) Create a new transport instance.protected
HttpTransport
(URIish uri) Create a minimal HTTP transport instance not tied to a single repository.protected
SshTransport
(Repository local, URIish uri) Create a new transport instance.protected
SshTransport
(URIish uri) Create a new transport instance without a local repository.protected
TcpTransport
(Repository local, URIish uri) Create a new transport instance.protected
TcpTransport
(URIish uri) Create a new transport instance without a local repository.protected
Transport
(Repository local, URIish uri) Create a new transport instance.protected
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. -
Uses of URIish in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type URIishModifier and TypeMethodDescriptionstatic 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.
RemoteSetUrlCommand.setRemoteUri(org.eclipse.jgit.transport.URIish)
instead