Uses of Class
org.eclipse.jgit.transport.URIish
-
Packages that use URIish 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.gpg.bc.internal org.eclipse.jgit.internal.transport.sshd org.eclipse.jgit.junit.http org.eclipse.jgit.junit.ssh org.eclipse.jgit.lfs.internal org.eclipse.jgit.pgm org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.transport.sshd org.eclipse.jgit.util Utility classes. -
-
Uses of URIish in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api declared as URIish Modifier and Type Field Description private URIish
RemoteSetUrlCommand. remoteUri
private URIish
RemoteAddCommand. uri
Methods in org.eclipse.jgit.api with parameters of type URIish Modifier and Type Method Description private FetchResult
CloneCommand. fetch(Repository clonedRepo, URIish u)
RemoteSetUrlCommand
RemoteSetUrlCommand. setRemoteUri(URIish remoteUri)
The new URL for the remote.RemoteAddCommand
RemoteAddCommand. setUri(URIish uri)
The URL of the repository for the new remote.void
RemoteSetUrlCommand. setUri(URIish uri)
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 URIish Modifier and Type Method Description boolean
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 URIish Modifier and Type Method Description boolean
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 URIish Constructor 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.TooLargeObjectInPackException(URIish uri, java.lang.String s)
Construct a too large object in pack exception.TooLargePackException(URIish uri, java.lang.String s)
Construct a too large pack exception.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. -
Uses of URIish in org.eclipse.jgit.gpg.bc.internal
Methods in org.eclipse.jgit.gpg.bc.internal that return URIish Modifier and Type Method Description private URIish
BouncyCastleGpgKeyPassphrasePrompt. createURI(java.nio.file.Path keyLocation)
-
Uses of URIish in org.eclipse.jgit.internal.transport.sshd
Methods in org.eclipse.jgit.internal.transport.sshd that return URIish Modifier and Type Method Description private URIish
PasswordProviderWrapper. toUri(java.lang.String resourceKey)
Creates aURIish
from a given string.static URIish
JGitUserInteraction. toURI(java.lang.String userName, java.net.InetSocketAddress remote)
Creates aURIish
from the given remote address and user name.Methods in org.eclipse.jgit.internal.transport.sshd with parameters of type URIish Modifier and Type Method Description private static boolean
OpenSshServerKeyDatabase.AskUser. askUser(CredentialsProvider provider, URIish uri, java.lang.String prompt, java.lang.String... messages)
-
Uses of URIish in org.eclipse.jgit.junit.http
Fields in org.eclipse.jgit.junit.http declared as URIish Modifier and Type Field Description private URIish
SimpleHttpServer. secureUri
private URIish
SimpleHttpServer. uri
Methods in org.eclipse.jgit.junit.http that return URIish Modifier and Type Method Description protected static URIish
HttpTestCase. extendPath(URIish uri, java.lang.String pathComponents)
Extend a pathURIish
SimpleHttpServer. getSecureUri()
Get thesecureUri
.URIish
SimpleHttpServer. getUri()
Get theuri
.protected URIish
HttpTestCase. toURIish(java.lang.String path)
Convert path to URIishprotected URIish
HttpTestCase. toURIish(org.eclipse.jetty.servlet.ServletContextHandler app, java.lang.String name)
Convert a path relative to the app's context path to a URIishprivate URIish
SimpleHttpServer. toURIish(java.lang.String path)
private URIish
SimpleHttpServer. toURIish(org.eclipse.jetty.servlet.ServletContextHandler app, java.lang.String name)
Methods in org.eclipse.jgit.junit.http with parameters of type URIish Modifier and Type Method Description protected static URIish
HttpTestCase. extendPath(URIish uri, java.lang.String pathComponents)
Extend a pathjava.util.List<AccessEvent>
AppServer. getRequests(URIish base, java.lang.String path)
Get requests.protected java.util.List<AccessEvent>
HttpTestCase. getRequests(URIish base, java.lang.String path)
Get requests.static java.lang.String
HttpTestCase. join(URIish base, java.lang.String path)
Join a base URIish and a pathstatic java.lang.String
HttpTestCase. loose(URIish base, AnyObjectId id)
Create loose object path -
Uses of URIish in org.eclipse.jgit.junit.ssh
Fields in org.eclipse.jgit.junit.ssh declared as URIish Modifier and Type Field Description private URIish
SshTestHarness.LogEntry. uri
Methods in org.eclipse.jgit.junit.ssh that return URIish Modifier and Type Method Description URIish
SshTestHarness.LogEntry. getURIish()
Methods in org.eclipse.jgit.junit.ssh with parameters of type URIish Modifier and Type Method Description boolean
SshTestHarness.TestCredentialsProvider. get(URIish uri, CredentialItem... items)
private void
SshTestHarness.TestCredentialsProvider. logItems(URIish uri, CredentialItem... items)
Constructors in org.eclipse.jgit.junit.ssh with parameters of type URIish Constructor Description LogEntry(URIish uri, java.util.List<CredentialItem> items)
-
Uses of URIish in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with parameters of type URIish Modifier and Type Method Description private static java.lang.String
LfsConnectionFactory. extractProjectName(URIish u)
private static Protocol.ExpiringAction
LfsConnectionFactory. getSshAuthentication(Repository db, java.lang.String purpose, java.lang.String remoteUrl, URIish u)
-
Uses of URIish in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm with parameters of type URIish Modifier and Type Method Description private 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 URIish Modifier and Type Field Description private URIish
TransportHttp. currentUri
The current URI we're talking to.(package private) URIish
FetchHeadRecord. sourceURI
protected URIish
BasePackConnection. uri
Remote repository location.private URIish
CredentialsProviderUserInfo. uri
(package private) URIish
JschSession. uri
(package private) URIish
OperationResult. uri
protected URIish
Transport. uri
The URI used to create this transport.private URIish
WalkPushConnection. uri
Location of the remote repository we are writing to.Fields in org.eclipse.jgit.transport with type parameters of type URIish Modifier and Type Field Description private java.util.HashMap<URIish,TestProtocol.Handle>
TestProtocol. handles
private java.util.List<URIish>
RemoteConfig. pushURIs
private java.util.List<URIish>
RemoteConfig. uris
Methods in org.eclipse.jgit.transport that return URIish Modifier and Type Method Description private static URIish
CredentialsProviderUserInfo. createURI(com.jcraft.jsch.Session session)
URIish
OperationResult. getURI()
Get the URI this result came from.URIish
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
TransportHttp. redirect(java.net.URL currentUrl, java.lang.String location, java.lang.String checkFor, int redirects)
URIish
TestProtocol. register(C req, Repository remote)
Register a repository connection over the internal test protocol.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.Methods in org.eclipse.jgit.transport that return types with arguments of type URIish Modifier and Type Method 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.private static java.util.List<URIish>
Transport. getURIs(RemoteConfig cfg, Transport.Operation op)
Methods in org.eclipse.jgit.transport with parameters of type URIish Modifier and Type Method 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.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
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.private NoRemoteRepositoryException
TransportHttp. createNotFoundException(URIish u, java.net.URL url, java.lang.String msg)
private java.lang.String
HttpConfig. findMatch(java.util.Set<java.lang.String> names, URIish uri)
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, java.util.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.RemoteSession
JschConfigSessionFactory. getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)
Opens (or reuses) a session to a host.abstract RemoteSession
SshSessionFactory. getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)
Opens (or reuses) a session to a host.private void
HttpConfig. init(Config config, URIish uri)
Transport
TestProtocol. open(URIish uri, Repository local, java.lang.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, java.lang.String remoteName)
Open a new transport instance to connect two repositories.static Transport
Transport. open(URIish uri)
Open a new transport with no local repository.Transport
TransportProtocol. open(URIish uri)
Open a new transport instance to the remote repository.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(package private) void
OperationResult. setAdvertisedRefs(URIish u, java.util.Map<java.lang.String,Ref> ar)
protected void
TransportHttp. setURI(URIish uri)
Set uri aURIish
object.private java.net.URL
TransportHttp. toURL(URIish urish)
Constructors in org.eclipse.jgit.transport with parameters of type URIish Constructor Description HttpConfig(Config config, URIish uri)
Creates a newHttpConfig
tailored to the givenURIish
.HttpConfig(URIish uri)
Creates aHttpConfig
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.TransportAmazonS3(Repository local, URIish uri)
TransportBundleFile(Repository local, URIish uri, java.io.File bundlePath)
TransportBundleFile(URIish uri, java.io.File bundlePath)
Constructor for TransportBundleFile.TransportBundleStream(Repository db, URIish uri, java.io.InputStream in)
Create a new transport to fetch objects from a streamed bundle.TransportGitAnon(Repository local, URIish uri)
TransportGitAnon(URIish uri)
TransportGitSsh(Repository local, URIish uri)
TransportGitSsh(URIish uri)
TransportHttp(Repository local, URIish uri)
TransportHttp(URIish uri)
Create a minimal HTTP transport with default configuration values.TransportInternal(Repository local, URIish uri, TestProtocol.Handle handle)
TransportLocal(Repository local, URIish uri, java.io.File gitDir)
TransportLocal(URIish uri, java.io.File gitDir)
TransportSftp(Repository local, URIish uri)
URIish(URIish u)
-
Uses of URIish in org.eclipse.jgit.transport.sshd
Fields in org.eclipse.jgit.transport.sshd declared as URIish Modifier and Type Field Description private URIish
SshdSession. uri
Fields in org.eclipse.jgit.transport.sshd with type parameters of type URIish Modifier and Type Field Description private java.util.Map<URIish,IdentityPasswordProvider.State>
IdentityPasswordProvider. current
Counts per resource key.Methods in org.eclipse.jgit.transport.sshd that return types with arguments of type URIish Modifier and Type Method Description private java.util.List<URIish>
SshdSession. determineHops(java.util.List<URIish> currentHops, org.apache.sshd.client.config.hosts.HostConfigEntry hostConfig, java.lang.String host)
private java.util.List<URIish>
SshdSession. parseProxyJump(java.lang.String proxyJump)
Methods in org.eclipse.jgit.transport.sshd with parameters of type URIish Modifier and Type Method Description private org.apache.sshd.client.session.ClientSession
SshdSession. connect(URIish target, java.util.List<URIish> jumps, org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener, java.time.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, java.lang.String message)
Obtains the passphrase/password for an encrypted private key via theconfigured CredentialsProvider
.SshdSession
SshdSessionFactory. getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)
boolean
IdentityPasswordProvider. keyLoaded(URIish uri, int attempt, java.lang.Exception error)
protected boolean
IdentityPasswordProvider. keyLoaded(URIish uri, IdentityPasswordProvider.State state, char[] password, java.lang.Exception err)
Invoked to inform the password provider about the decoding result.boolean
KeyPasswordProvider. keyLoaded(URIish uri, int attempt, java.lang.Exception error)
Invoked after a key has been loaded.Method parameters in org.eclipse.jgit.transport.sshd with type arguments of type URIish Modifier and Type Method Description private org.apache.sshd.client.session.ClientSession
SshdSession. connect(URIish target, java.util.List<URIish> jumps, org.apache.sshd.common.future.SshFutureListener<org.apache.sshd.common.future.CloseFuture> listener, java.time.Duration timeout, int depth)
private java.util.List<URIish>
SshdSession. determineHops(java.util.List<URIish> currentHops, org.apache.sshd.client.config.hosts.HostConfigEntry hostConfig, java.lang.String host)
Constructors in org.eclipse.jgit.transport.sshd with parameters of type URIish Constructor Description SshdSession(URIish uri, java.util.function.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 URIish Modifier and Type Method Description static java.lang.String
SshSupport. runSshCommand(URIish sshUri, CredentialsProvider provider, FS fs, java.lang.String command, int timeout)
Utility to execute a remote SSH command and read the first line of output.
-