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.
Provides a JGit
SshSessionFactory
implemented via JSch.Provides a JGit
SshSessionFactory
implemented via Apache MINA
sshd.Utility classes.
-
Uses of URIish in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api declared as URIishModifier and TypeFieldDescriptionprivate URIish
RemoteSetUrlCommand.remoteUri
private URIish
RemoteAddCommand.uri
Methods in org.eclipse.jgit.api with parameters of type URIishModifier and TypeMethodDescriptionprivate FetchResult
CloneCommand.fetch
(Repository clonedRepo, URIish u) RemoteSetUrlCommand.setRemoteUri
(URIish remoteUri) The new URL for the remote.The URL of the repository for the new remote.void
Deprecated.(package private) void
CloneCommand.verifyDirectories
(URIish u) -
Uses of URIish in org.eclipse.jgit.awtui
Methods in org.eclipse.jgit.awtui with parameters of type URIishModifier and TypeMethodDescriptionboolean
AwtCredentialsProvider.get
(URIish uri, CredentialItem... items) Ask for the credential items to be populated.private static boolean
AwtCredentialsProvider.interactive
(URIish uri, CredentialItem[] items) -
Uses of URIish in org.eclipse.jgit.console
Methods in org.eclipse.jgit.console with parameters of type URIishModifier and TypeMethodDescriptionboolean
ConsoleCredentialsProvider.get
(URIish uri, CredentialItem... items) Ask for the credential items to be populated. -
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.gpg.bc.internal
Methods in org.eclipse.jgit.gpg.bc.internal that return URIish -
Uses of URIish in org.eclipse.jgit.internal.transport.ssh.jsch
Fields in org.eclipse.jgit.internal.transport.ssh.jsch declared as URIishMethods in org.eclipse.jgit.internal.transport.ssh.jsch that return URIish -
Uses of URIish in org.eclipse.jgit.internal.transport.sshd
Methods in org.eclipse.jgit.internal.transport.sshd that return URIishModifier and TypeMethodDescriptionprivate URIish
JGitPublicKeyAuthentication.getUri()
private URIish
Creates aURIish
from a given string.static URIish
JGitUserInteraction.toURI
(String userName, InetSocketAddress remote) Creates aURIish
from the given remote address and user name.Methods in org.eclipse.jgit.internal.transport.sshd with parameters of type URIishModifier and TypeMethodDescriptionprivate static boolean
OpenSshServerKeyDatabase.AskUser.askUser
(CredentialsProvider provider, URIish uri, String prompt, String... messages) -
Uses of URIish in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with parameters of type URIishModifier and TypeMethodDescriptionprivate static String
LfsConnectionFactory.extractProjectName
(URIish u) private static Protocol.ExpiringAction
LfsConnectionFactory.getSshAuthentication
(Repository db, String purpose, String remoteUrl, URIish u) -
Uses of URIish in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm with parameters of type URIishModifier and TypeMethodDescriptionprivate void
Push.printPushResult
(ObjectReader reader, URIish uri, PushResult result) private void
Push.printRefUpdateResult
(ObjectReader reader, URIish uri, PushResult result, RemoteRefUpdate rru) -
Uses of URIish in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as URIishModifier and TypeFieldDescriptionprivate URIish
TransportHttp.currentUri
The current URI we're talking to.(package private) URIish
FetchHeadRecord.sourceURI
protected final URIish
BasePackConnection.uri
Remote repository location.(package private) URIish
OperationResult.uri
protected final URIish
Transport.uri
The URI used to create this transport.private final URIish
WalkPushConnection.uri
Location of the remote repository we are writing to.Fields in org.eclipse.jgit.transport with type parameters of type URIishModifier and TypeFieldDescriptionprivate final HashMap<URIish,
TestProtocol<C>.Handle> TestProtocol.handles
RemoteConfig.pushURIs
RemoteConfig.uris
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.(package private) URIish
TransportAmazonS3.DatabaseS3.getURI()
(package private) URIish
TransportHttp.HttpObjectDB.getURI()
(package private) URIish
TransportSftp.SftpObjectDB.getURI()
(package private) abstract URIish
WalkRemoteObjectDatabase.getURI()
private URIish
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.Transport.getURIs
(RemoteConfig cfg, Transport.Operation op) 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.private HttpAuthMethod
TransportHttp.authFromUri
(URIish u) (package private) boolean
HttpAuthMethod.authorize
(URIish uri, CredentialsProvider credentialsProvider) Update this method with the credentials from the URIish.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.private NoRemoteRepositoryException
TransportHttp.createNotFoundException
(URIish u, URL url, String msg) private String
Determines the best match from a set of subsection names (representing prefix URLs) for the givenURIish
.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) Ask for the credential items to be populated.boolean
UsernamePasswordCredentialsProvider.get
(URIish uri, CredentialItem... items) Ask for the credential items to be populated.abstract RemoteSession
SshSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.private void
TestProtocol.open
(URIish uri, Repository local, String remoteName) Open a Transport instance to the other repository.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 URI(package private) void
OperationResult.setAdvertisedRefs
(URIish u, Map<String, Ref> ar) protected void
Set uri aURIish
object.private URL
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.(package private)
TransportAmazonS3
(Repository local, URIish uri) (package private)
TransportBundleFile
(Repository local, URIish uri, File bundlePath) TransportBundleFile
(URIish uri, File bundlePath) Constructor for TransportBundleFile.TransportBundleStream
(Repository db, URIish uri, InputStream in) Create a new transport to fetch objects from a streamed bundle.(package private)
TransportGitAnon
(Repository local, URIish uri) (package private)
TransportGitAnon
(URIish uri) (package private)
TransportGitSsh
(Repository local, URIish uri) (package private)
TransportGitSsh
(URIish uri) (package private)
TransportHttp
(Repository local, URIish uri) (package private)
TransportHttp
(URIish uri) Create a minimal HTTP transport with default configuration values.(package private)
TransportInternal
(Repository local, URIish uri, TestProtocol<C>.Handle handle) (package private)
TransportLocal
(Repository local, URIish uri, File gitDir) (package private)
TransportLocal
(URIish uri, File gitDir) (package private)
TransportSftp
(Repository local, URIish uri) private
-
Uses of URIish in org.eclipse.jgit.transport.ssh.jsch
Fields in org.eclipse.jgit.transport.ssh.jsch declared as URIishMethods in org.eclipse.jgit.transport.ssh.jsch with parameters of type URIishModifier and TypeMethodDescriptionJschConfigSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.Constructors in org.eclipse.jgit.transport.ssh.jsch with parameters of type URIishModifierConstructorDescriptionJschSession
(com.jcraft.jsch.Session session, URIish uri) Create a new session object by passing the real Jsch session and the URI information. -
Uses of URIish in org.eclipse.jgit.transport.sshd
Fields in org.eclipse.jgit.transport.sshd declared as URIishFields in org.eclipse.jgit.transport.sshd with type parameters of type URIishModifier and TypeFieldDescriptionprivate final Map<URIish,
IdentityPasswordProvider.State> IdentityPasswordProvider.current
Counts per resource key.Methods in org.eclipse.jgit.transport.sshd that return types with arguments of type URIishModifier and TypeMethodDescriptionSshdSession.determineHops
(List<URIish> currentHops, org.apache.sshd.client.config.hosts.HostConfigEntry hostConfig, String host) SshdSession.parseProxyJump
(String proxyJump) Methods in org.eclipse.jgit.transport.sshd with parameters of type URIishModifier and TypeMethodDescriptionprivate org.apache.sshd.client.session.ClientSession
SshdSession.connect
(URIish target, List<URIish> jumps, org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener, Duration timeout, int depth) char[]
IdentityPasswordProvider.getPassphrase
(URIish uri, int attempt) char[]
KeyPasswordProvider.getPassphrase
(URIish uri, int attempt) Obtains a passphrase to use to decrypt an ecrypted private key.protected char[]
IdentityPasswordProvider.getPassword
(URIish uri, int attempt, IdentityPasswordProvider.State state) Retrieves a password to decrypt a private key.protected char[]
IdentityPasswordProvider.getPassword
(URIish uri, String message) Obtains the passphrase/password for an encrypted private key via theconfigured CredentialsProvider
.SshdSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) boolean
protected boolean
IdentityPasswordProvider.keyLoaded
(URIish uri, IdentityPasswordProvider.State state, char[] password, Exception err) Invoked to inform the password provider about the decoding result.boolean
Invoked after a key has been loaded.Method parameters in org.eclipse.jgit.transport.sshd with type arguments of type URIishModifier and TypeMethodDescriptionprivate org.apache.sshd.client.session.ClientSession
SshdSession.connect
(URIish target, List<URIish> jumps, org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener, Duration timeout, int depth) SshdSession.determineHops
(List<URIish> currentHops, org.apache.sshd.client.config.hosts.HostConfigEntry hostConfig, String host) Constructors in org.eclipse.jgit.transport.sshd with parameters of type URIishModifierConstructorDescription(package private)
SshdSession
(URIish uri, Supplier<org.apache.sshd.client.SshClient> clientFactory) -
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