Uses of Class
org.eclipse.jgit.annotations.NonNull
-
-
Uses of NonNull in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with annotations of type NonNull Modifier and Type Method Description java.util.Map<java.lang.String,VerificationResult>VerifySignatureCommand. call()Resolvesall names added to the command to git objects and verifies their signature.Method parameters in org.eclipse.jgit.api with annotations of type NonNull Modifier and Type Method Description VerifySignatureCommandVerifySignatureCommand. setMode(VerifySignatureCommand.VerifyMode mode)Sets the mode of operation for this command. -
Uses of NonNull in org.eclipse.jgit.dircache
Constructor parameters in org.eclipse.jgit.dircache with annotations of type NonNull Constructor Description Checkout(Repository repo)Creates a newCheckoutfor checking out from the given repository.Checkout(Repository repo, WorkingTreeOptions options)Creates a newCheckoutfor checking out from the given repository. -
Uses of NonNull in org.eclipse.jgit.events
Methods in org.eclipse.jgit.events with annotations of type NonNull Modifier and Type Method Description java.util.Collection<java.lang.String>WorkingTreeModifiedEvent. getDeleted()Retrieves theCollectionof repository-relative paths of files that were deleted.java.util.Collection<java.lang.String>WorkingTreeModifiedEvent. getModified()Retrieves theCollectionof repository-relative paths of files that were modified (added or updated). -
Uses of NonNull in org.eclipse.jgit.gitrepo
Fields in org.eclipse.jgit.gitrepo with annotations of type NonNull Modifier and Type Field Description private byte[]RepoCommand.RemoteFile. contentsprivate FileModeRepoCommand.RemoteFile. fileModeMethods in org.eclipse.jgit.gitrepo with annotations of type NonNull Modifier and Type Method Description byte[]RepoCommand.RemoteFile. getContents()Contents of the file.FileModeRepoCommand.RemoteFile. getFileMode()java.util.List<RepoProject>ManifestParser. getFilteredProjects()Getter for filterdProjects.RepoCommand.RemoteFileRepoCommand.RemoteReader. readFileWithMode(java.lang.String uri, java.lang.String ref, java.lang.String path)Read contents and mode (i.e.Constructor parameters in org.eclipse.jgit.gitrepo with annotations of type NonNull Constructor Description RemoteFile(byte[] contents, FileMode fileMode)RemoteFile(byte[] contents, FileMode fileMode) -
Uses of NonNull in org.eclipse.jgit.gpg.bc.internal
Fields in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNull Modifier and Type Field Description private GpgSignatureVerifier.TrustLevelBouncyCastleGpgSignatureVerifier.VerificationResult. trustLevelMethods in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNull Modifier and Type Method Description BouncyCastleGpgKeyBouncyCastleGpgKeyLocator. findSecretKey()If there is a private key directory containing keys, use pubring.kbx or pubring.gpg to find the public key; then try to find the secret key in the directory.Method parameters in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNull Modifier and Type Method Description voidBouncyCastleGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)voidBouncyCastleGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)voidBouncyCastleGpgSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)voidBouncyCastleGpgSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)GpgSignatureVerifier.SignatureVerificationBouncyCastleGpgSignatureVerifier. verifySignature(RevObject object, GpgConfig config)GpgSignatureVerifier.SignatureVerificationBouncyCastleGpgSignatureVerifier. verifySignature(RevObject object, GpgConfig config)Constructor parameters in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNull Constructor Description BouncyCastleGpgKeyLocator(java.lang.String signingKey, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt)Create a new key locator for the specified signing key.VerificationResult(java.util.Date creationDate, java.lang.String signer, java.lang.String fingerprint, java.lang.String user, boolean verified, boolean expired, GpgSignatureVerifier.TrustLevel trust, java.lang.String message) -
Uses of NonNull in org.eclipse.jgit.gpg.bc.internal.keys
Methods in org.eclipse.jgit.gpg.bc.internal.keys with annotations of type NonNull Modifier and Type Method Description static byte[]KeyGrip. getKeyGrip(org.bouncycastle.openpgp.PGPPublicKey publicKey)Computes the keygrip for aPGPPublicKey. -
Uses of NonNull in org.eclipse.jgit.ignore
Methods in org.eclipse.jgit.ignore with annotations of type NonNull Modifier and Type Method Description static IMatcherIMatcher. createPathMatcher(java.lang.String pattern, boolean dirOnly)Creates a path matcher for the given pattern.Method parameters in org.eclipse.jgit.ignore with annotations of type NonNull Modifier and Type Method Description static IMatcherIMatcher. createPathMatcher(java.lang.String pattern, boolean dirOnly)Creates a path matcher for the given pattern. -
Uses of NonNull in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with annotations of type NonNull Modifier and Type Method Description DfsObjDatabase.PackSourceDfsPackDescription. getPackSource()Get the source of the pack.Method parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NonNull Modifier and Type Method Description DfsPackDescriptionDfsPackDescription. setPackSource(DfsObjDatabase.PackSource source)Set the source of the pack.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NonNull Constructor Description DfsPackDescription(DfsRepositoryDescription repoDesc, java.lang.String name, DfsObjDatabase.PackSource packSource)Initialize a description by pack name and repository. -
Uses of NonNull in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file with annotations of type NonNull Modifier and Type Method Description java.util.Map<java.lang.String,Ref>RefDirectory. exactRef(java.lang.String... refs)Read the specified references.ObjectIdRefDirectory.LooseUnpeeled. getObjectId()WindowCacheStatsWindowCache.StatsRecorder. getStats()Returns a snapshot of this recorder's stats.BatchRefUpdateFileReftableDatabase. newBatchUpdate()Create a new batch update to attempt on this database.Method parameters in org.eclipse.jgit.internal.storage.file with annotations of type NonNull Modifier and Type Method Description voidGC. setPackConfig(PackConfig pconfig)Set the PackConfig used when (re-)writing packfiles.private PackGC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)private PackGC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)private PackGC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)Constructor parameters in org.eclipse.jgit.internal.storage.file with annotations of type NonNull Constructor Description FileSnapshot(java.time.Instant read, java.time.Instant modified, long size, java.time.Duration fsTimestampResolution, java.lang.Object fileKey)FileSnapshot(java.time.Instant read, java.time.Instant modified, long size, java.time.Duration fsTimestampResolution, java.lang.Object fileKey)LooseNonTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id)LooseNonTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id)LoosePeeledTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id, ObjectId p)LoosePeeledTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id, ObjectId p)LoosePeeledTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id, ObjectId p)LooseSymbolicRef(FileSnapshot snapshot, java.lang.String refName, Ref target)LooseSymbolicRef(FileSnapshot snapshot, java.lang.String refName, Ref target)LooseUnpeeled(FileSnapshot snapShot, java.lang.String refName, ObjectId id)LooseUnpeeled(FileSnapshot snapShot, java.lang.String refName, ObjectId id) -
Uses of NonNull in org.eclipse.jgit.internal.storage.pack
Fields in org.eclipse.jgit.internal.storage.pack with annotations of type NonNull Modifier and Type Field Description private CachedPackUriProviderPackWriter.PackfileUriConfig. cachedPackUriProviderprivate PacketLineOutPackWriter.PackfileUriConfig. pckOutprivate java.util.Collection<java.lang.String>PackWriter.PackfileUriConfig. protocolsSupportedMethod parameters in org.eclipse.jgit.internal.storage.pack with annotations of type NonNull Modifier and Type Method Description private booleanPackWriter. depthSkip(RevObject obj, ObjectWalk walker)Determines if the object should be omitted from the pack as a result of its depth (probably because of the tree:filter). private voidPackWriter. filterAndAddObject(AnyObjectId src, int type, int pathHashCode, java.util.Set<? extends AnyObjectId> want)private voidPackWriter. filterAndAddObject(AnyObjectId src, int type, int pathHashCode, java.util.Set<? extends AnyObjectId> want)private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)voidPackWriter. preparePack(java.util.Iterator<RevObject> objectsSource)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. setFilterSpec(FilterSpec filter)Constructor parameters in org.eclipse.jgit.internal.storage.pack with annotations of type NonNull Constructor Description PackfileUriConfig(PacketLineOut pckOut, java.util.Collection<java.lang.String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider)PackfileUriConfig(PacketLineOut pckOut, java.util.Collection<java.lang.String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider)PackfileUriConfig(PacketLineOut pckOut, java.util.Collection<java.lang.String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider) -
Uses of NonNull in org.eclipse.jgit.internal.transport.http
Method parameters in org.eclipse.jgit.internal.transport.http with annotations of type NonNull Modifier and Type Method Description private static java.util.Set<java.net.HttpCookie>NetscapeCookieFile. parseCookieFile(byte[] input, java.time.Instant createdAt)Parses the given file and extracts all cookie information from it.private static java.util.Set<java.net.HttpCookie>NetscapeCookieFile. parseCookieFile(byte[] input, java.time.Instant createdAt)Parses the given file and extracts all cookie information from it.private static java.net.HttpCookieNetscapeCookieFile. parseLine(java.lang.String line, java.time.Instant createdAt)private static java.net.HttpCookieNetscapeCookieFile. parseLine(java.lang.String line, java.time.Instant createdAt)(package private) static voidNetscapeCookieFile. write(java.io.Writer writer, java.util.Collection<java.net.HttpCookie> cookies, java.net.URL url, java.time.Instant createdAt)Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile. write(java.io.Writer writer, java.util.Collection<java.net.HttpCookie> cookies, java.net.URL url, java.time.Instant createdAt)Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile. write(java.io.Writer writer, java.util.Collection<java.net.HttpCookie> cookies, java.net.URL url, java.time.Instant createdAt)Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile. write(java.io.Writer writer, java.util.Collection<java.net.HttpCookie> cookies, java.net.URL url, java.time.Instant createdAt)Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).private static voidNetscapeCookieFile. writeCookie(java.io.Writer writer, java.net.HttpCookie cookie, java.net.URL url, java.time.Instant createdAt)private static voidNetscapeCookieFile. writeCookie(java.io.Writer writer, java.net.HttpCookie cookie, java.net.URL url, java.time.Instant createdAt)private static voidNetscapeCookieFile. writeCookie(java.io.Writer writer, java.net.HttpCookie cookie, java.net.URL url, java.time.Instant createdAt)private static voidNetscapeCookieFile. writeCookie(java.io.Writer writer, java.net.HttpCookie cookie, java.net.URL url, java.time.Instant createdAt) -
Uses of NonNull in org.eclipse.jgit.internal.transport.parser
Methods in org.eclipse.jgit.internal.transport.parser with annotations of type NonNull Modifier and Type Method Description static FirstCommandFirstCommand. fromLine(java.lang.String line)Parse the first line of a receive-pack request.java.util.Set<java.lang.String>FirstCommand. getCapabilities()java.lang.StringFirstCommand. getLine() -
Uses of NonNull in org.eclipse.jgit.internal.transport.ssh
Methods in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNull Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>OpenSshConfigFile.HostEntry. getMultiValuedOptions()Retrieves an unmodifiable map of all multi-valued options, with case-insensitive lookup by keys.java.util.Map<java.lang.String,java.lang.String>OpenSshConfigFile.HostEntry. getOptions()Retrieves an unmodifiable map of all single-valued options, with case-insensitive lookup by keys.OpenSshConfigFile.HostEntryOpenSshConfigFile. lookup(java.lang.String hostName, int port, java.lang.String userName)Locate the configuration for a specific host request.private java.lang.StringOpenSshConfigFile. toCacheKey(java.lang.String hostName, int port, java.lang.String userName)Method parameters in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNull Modifier and Type Method Description OpenSshConfigFile.HostEntryOpenSshConfigFile. lookup(java.lang.String hostName, int port, java.lang.String userName)Locate the configuration for a specific host request.private java.lang.StringOpenSshConfigFile. toCacheKey(java.lang.String hostName, int port, java.lang.String userName)Constructor parameters in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNull Constructor Description OpenSshConfigFile(java.io.File home, java.io.File config, java.lang.String localUserName)Creates a newOpenSshConfigFilethat will read the config from fileconfiguse the given filehomeas "home" directory.OpenSshConfigFile(java.io.File home, java.io.File config, java.lang.String localUserName)Creates a newOpenSshConfigFilethat will read the config from fileconfiguse the given filehomeas "home" directory.OpenSshConfigFile(java.io.File home, java.io.File config, java.lang.String localUserName)Creates a newOpenSshConfigFilethat will read the config from fileconfiguse the given filehomeas "home" directory. -
Uses of NonNull in org.eclipse.jgit.internal.transport.sshd
Fields in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNull Modifier and Type Field Description private ServerKeyDatabase.ConfigurationOpenSshServerKeyDatabase.AskUser. configprivate ServerKeyDatabaseJGitServerKeyVerifier. databaseMethods in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNull Modifier and Type Method Description static java.lang.StringGssApiMechanisms. getCanonicalName(java.net.InetSocketAddress remote)Determines a canonical host name for use use with GSS-API.java.util.Map<java.lang.String,java.util.List<java.lang.String>>JGitHostConfigEntry. getMultiValuedOptions()Retrieves all multi-valued options.static java.util.Collection<org.ietf.jgss.Oid>GssApiMechanisms. getSupportedMechanisms()Retrieves an immutable collection of the supported mechanisms.java.util.List<java.security.PublicKey>ServerKeyLookup. lookup(org.apache.sshd.client.session.ClientSession session, java.net.SocketAddress remote)Retrieves all public keys known for a given remote.Method parameters in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNull Modifier and Type Method Description booleanOpenSshServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)booleanOpenSshServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)booleanOpenSshServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)booleanOpenSshServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)static org.ietf.jgss.GSSContextGssApiMechanisms. createContext(org.ietf.jgss.Oid mechanism, java.lang.String fqdn)Creates aGSSContextfor the given mechanism to authenticate with the host given byfqdn.static org.ietf.jgss.GSSContextGssApiMechanisms. createContext(org.ietf.jgss.Oid mechanism, java.lang.String fqdn)Creates aGSSContextfor the given mechanism to authenticate with the host given byfqdn.static voidGssApiMechanisms. failed(org.ietf.jgss.Oid mechanism)Mark the mechanisms as failed.private java.util.Collection<org.apache.sshd.common.util.net.SshdSocketAddress>OpenSshServerKeyDatabase. getCandidates(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress)private java.util.Collection<org.apache.sshd.common.util.net.SshdSocketAddress>OpenSshServerKeyDatabase. getCandidates(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress)static java.lang.StringGssApiMechanisms. getCanonicalName(java.net.InetSocketAddress remote)Determines a canonical host name for use use with GSS-API.private java.util.List<OpenSshServerKeyDatabase.HostKeyFile>OpenSshServerKeyDatabase. getFilesToUse(ServerKeyDatabase.Configuration config)java.util.List<java.security.PublicKey>OpenSshServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)java.util.List<java.security.PublicKey>OpenSshServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)java.util.List<java.security.PublicKey>OpenSshServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)static java.net.InetAddressGssApiMechanisms. resolve(java.net.InetSocketAddress remote)Resolves anInetSocketAddress.private org.apache.sshd.common.util.net.SshdSocketAddressOpenSshServerKeyDatabase. toSshdSocketAddress(java.lang.String address)static voidGssApiMechanisms. worked(org.ietf.jgss.Oid mechanism)Report that this mechanism was used successfully.Constructor parameters in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNull Constructor Description AskUser(ServerKeyDatabase.Configuration config, CredentialsProvider provider)JGitServerKeyVerifier(ServerKeyDatabase database)Creates a newJGitServerKeyVerifierusing the givenServerKeyDatabase.PasswordProviderWrapper(java.util.function.Supplier<KeyPasswordProvider> factory)Creates a newPasswordProviderWrapper. -
Uses of NonNull in org.eclipse.jgit.internal.transport.sshd.proxy
Methods in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNull Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>AuthenticationChallenge. getArguments()Retrieves the arguments of the challenge.Method parameters in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNull Modifier and Type Method Description private static org.ietf.jgss.GSSContextSocks5ClientConnector. getGSSContext(java.net.InetSocketAddress address)private static byte[]Socks5ClientConnector. getRawAddress(java.net.InetSocketAddress address)Constructor parameters in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNull Constructor Description AbstractClientProxyConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newAbstractClientProxyConnector.AbstractClientProxyConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newAbstractClientProxyConnector.HttpClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress)Creates a newHttpClientConnector.HttpClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress)Creates a newHttpClientConnector.HttpClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newHttpClientConnector.HttpClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newHttpClientConnector.Socks5ClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress)Creates a newSocks5ClientConnector.Socks5ClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress)Creates a newSocks5ClientConnector.Socks5ClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newSocks5ClientConnector.Socks5ClientConnector(java.net.InetSocketAddress proxyAddress, java.net.InetSocketAddress remoteAddress, java.lang.String proxyUser, char[] proxyPassword)Creates a newSocks5ClientConnector. -
Uses of NonNull in org.eclipse.jgit.junit.ssh
Fields in org.eclipse.jgit.junit.ssh with annotations of type NonNull Modifier and Type Field Description protected java.util.List<java.security.KeyPair>SshTestGitServer. hostKeysprotected RepositorySshTestGitServer. repositoryprotected java.security.PublicKeySshTestGitServer. testKeyprotected java.lang.StringSshTestGitServer. testUserMethods in org.eclipse.jgit.junit.ssh with annotations of type NonNull Modifier and Type Method Description protected java.util.List<org.apache.sshd.server.subsystem.SubsystemFactory>SshTestGitServer. configureSubsystems()Configures the test server's subsystems (sftp, scp).Method parameters in org.eclipse.jgit.junit.ssh with annotations of type NonNull Modifier and Type Method Description voidSshTestGitServer. addHostKey(java.nio.file.Path key, boolean inFront)Adds an additional host key to the server.voidSshTestGitServer. addHostKey(java.security.KeyPair key, boolean inFront)Adds an additional host key to the server.voidSshTestGitServer. setTestUserPublicKey(java.security.PublicKey key)Sets the test user's public key on the server.Constructor parameters in org.eclipse.jgit.junit.ssh with annotations of type NonNull Constructor Description SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, byte[] hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, byte[] hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, byte[] hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, byte[] hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.security.PublicKey testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.security.PublicKey testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.security.PublicKey testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.security.PublicKey testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server. -
Uses of NonNull in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with annotations of type NonNull Modifier and Type Method Description static HttpConnectionLfsConnectionFactory. getLfsContentConnection(Repository repo, Protocol.Action action, java.lang.String method)Create a connection for the specifiedProtocol.Action. -
Uses of NonNull in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib with annotations of type NonNull Modifier and Type Field Description private FileModeFileModeCache.CacheItem. modeprivate RepositoryFileModeCache. repoprivate FileModeCache.CacheItemFileModeCache. rootMethods in org.eclipse.jgit.lib with annotations of type NonNull Modifier and Type Method Description private FileModeCache.CacheItemFileModeCache. add(java.lang.String gitPath, FileMode finalMode)Records the givenFileModefor the given git path in the cache.abstract byte[]ObjectBuilder. build()Format this builder's state as a git object.abstract AttributesNodeProviderRepository. createAttributesNodeProvider()Create a newAttributesNodeProvider.ObjectReachabilityCheckerObjectReader. createObjectReachabilityChecker(ObjectWalk ow)Create an object reachability checker that will use bitmaps if possible.ReachabilityCheckerObjectReader. createReachabilityChecker(RevWalk rw)Create a reachability checker that will use bitmaps if possible.java.util.Map<java.lang.String,Ref>RefDatabase. exactRef(java.lang.String... refs)Read the specified references.java.util.Set<ObjectId>Repository. getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().abstract java.util.List<Ref>RefDatabase. getAdditionalRefs()Get the additional reference-like entities from the repository.java.util.Map<java.lang.String,Ref>Repository. getAllRefs()Deprecated.usegetRefDatabase().getRefs()instead.java.util.Map<AnyObjectId,java.util.Set<Ref>>Repository. getAllRefsByPeeledObjectId()Get a map with all objects referenced by a peeled ref.abstract StoredConfigRepository. getConfig()Get the configuration of this repository.java.util.Collection<java.lang.String>RefDatabase. getConflictingNames(java.lang.String name)Determine if a proposed reference cannot coexist with existing ones.java.util.DateGpgSignatureVerifier.SignatureVerification. getCreationDate()java.nio.charset.CharsetObjectBuilder. getEncoding()Retrieves the encoding that should be used for the message text.java.io.FileRepository. getIndexFile()Get the index file location ornullif repository isn't local.java.lang.StringBaseRepositoryBuilder. getInitialBranch()Get the initial branch of the new repository.protected java.lang.StringRepository. getInitialBranch()Get the initial branch name of a new repositoryRefObjectIdRef. getLeaf()Traverse target references untilRef.isSymbolic()is false.RefRef. getLeaf()Traverse target references untilRef.isSymbolic()is false.RefSymbolicRef. getLeaf()Traverse target references untilRef.isSymbolic()is false.ListenerListRepository. getListenerList()Get listeners observing only events on this repository.FileModeFileModeCache.CacheItem. getMode()Retrieves the cachedFileMode.java.lang.StringGpgSignatureVerifier. getName()Retrieves the name of this verifier.java.lang.StringObjectIdRef. getName()What this ref is called within the repository.java.lang.StringRef. getName()What this ref is called within the repository.java.lang.StringSymbolicRef. getName()What this ref is called within the repository.abstract ObjectDatabaseRepository. getObjectDatabase()Get the object database which stores this repository's data.ObjectIdObjectIdRef.PeeledTag. getPeeledObjectId()abstract RefDatabaseRepository. getRefDatabase()Get the reference database which stores the reference namespace.java.util.List<Ref>RefDatabase. getRefs()Returns all refs.abstract java.util.Map<java.lang.String,Ref>RefDatabase. getRefs(java.lang.String prefix)Deprecated.useRefDatabase.getRefsByPrefix(java.lang.String)insteadjava.util.List<Ref>RefDatabase. getRefsByPrefix(java.lang.String prefix)Returns refs whose names start with a given prefix.java.util.List<Ref>RefDatabase. getRefsByPrefix(java.lang.String... prefixes)Returns refs whose names start with one of the given prefixes.java.util.List<Ref>RefDatabase. getRefsByPrefixWithExclusions(java.lang.String include, java.util.Set<java.lang.String> excludes)Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.java.util.List<RefSpec>DefaultTypedConfigGetter. getRefSpecs(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name)java.util.List<RefSpec>TypedConfigGetter. getRefSpecs(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name)java.util.Set<java.lang.String>Repository. getRemoteNames()Get the names of all known remotesRepositoryFileModeCache. getRepository()Retrieves theRepository.RepositoryStateRepository. getRepositoryState()Get the repository stateFileModeCache.CacheItemFileModeCache. getRoot()Obtains theFileModeCache.CacheItemfor the working tree root.Ref.StorageObjectIdRef. getStorage()How was this ref obtained?Ref.StorageRef. getStorage()How was this ref obtained?Ref.StorageSymbolicRef. getStorage()How was this ref obtained?java.util.Map<java.lang.String,Ref>Repository. getTags()Deprecated.usegetRefDatabase().getRefsByPrefix(R_TAGS)insteadRefObjectIdRef. getTarget()Get the reference this reference points to, orthis.RefRef. getTarget()Get the reference this reference points to, orthis.RefSymbolicRef. getTarget()Get the reference this reference points to, orthis.java.util.Set<Ref>RefDatabase. getTipsWithSha1(ObjectId id)Returns all refs that resolve directly to the givenObjectId.GpgSignatureVerifier.TrustLevelGpgSignatureVerifier.SignatureVerification. getTrustLevel()Obtains the trust level of the public key used to verify the signature.java.io.FileRepository. getWorkTree()Get the root directory of the working tree, where files are checked out for viewing and editing.DirCacheRepository. lockDirCache()Create a new in-core index representation, lock it, and read from disk.BatchRefUpdateRefDatabase. newBatchUpdate()Create a new batch update to attempt on this database.ObjectInserterRepository. newObjectInserter()Create a new inserter to create objects inRepository.getObjectDatabase().ObjectReaderRepository. newObjectReader()Create a new reader to read objects fromRepository.getObjectDatabase().abstract RefRenameRefDatabase. newRename(java.lang.String fromName, java.lang.String toName)Create a new update command to rename a reference.abstract RefUpdateRefDatabase. newUpdate(java.lang.String name, boolean detach)Create a new update command to create, modify or delete a reference.ObjectLoaderRepository. open(AnyObjectId objectId)Open an object from this repository.ObjectLoaderRepository. open(AnyObjectId objectId, int typeHint)Open an object from this repository.abstract RefRefDatabase. peel(Ref ref)Peel a possibly unpeeled reference by traversing the annotated tags.RefRepository. peel(Ref ref)Deprecated.usegetRefDatabase().peel(ref)instead.DirCacheRepository. readDirCache()Create a new in-core index representation and read an index from disk.java.util.List<RebaseTodoLine>Repository. readRebaseTodo(java.lang.String path, boolean includeComments)Read a file formatted like the git-rebase-todo file.static ObjectIdObjectIdSerializer. readWithoutMarker(java.io.InputStream in)Read a non-nullObjectIdfrom the stream.RefRenameRepository. renameRef(java.lang.String fromRef, java.lang.String toRef)Create a command to rename a ref in this repositorystatic java.lang.StringRepository. shortenRefName(java.lang.String refName)Get a shortened more user friendly ref namestatic java.lang.StringRepository. stripWorkDir(java.io.File workDir, java.io.File file)Strip work dir and return normalized repository path.java.lang.StringObjectIdRef. toString()java.lang.StringRepository. toString()RefUpdateRepository. updateRef(java.lang.String ref)Create a command to update, create or delete a ref in this repository.RefUpdateRepository. updateRef(java.lang.String ref, boolean detach)Create a command to update, create or delete a ref in this repository.Method parameters in org.eclipse.jgit.lib with annotations of type NonNull Modifier and Type Method Description booleanGpgObjectSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Indicates if a signing key is available for the specified committer and/or signing key.abstract booleanGpgSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Indicates if a signing key is available for the specified committer and/or signing key.static voidRepositoryCache. close(Repository db)Close and remove a repository from the cache.java.nio.file.PathConfig. getPath(java.lang.String section, java.lang.String subsection, java.lang.String name, FS fs, java.io.File resolveAgainst, java.nio.file.Path defaultValue)Parse a string value and treat it as a file path, replacing a ~/ prefix by the user's home directory.default java.nio.file.PathTypedConfigGetter. getPath(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, FS fs, java.io.File resolveAgainst, java.nio.file.Path defaultValue)Parse a string value from a gitConfigand treat it as a file path, replacing a ~/ prefix by the user's home directory.FileModeCache.CacheItemFileModeCache.CacheItem. insert(java.lang.String childName, FileMode childMode)Inserts a new cachedFileModeas an immediate child of thisFileModeCache.CacheItem.(package private) static booleanRepositoryCache. isCached(Repository repo)private voidObjectChecker. report(ObjectChecker.ErrorType err, AnyObjectId id, java.lang.String why)voidObjectBuilder. setEncoding(java.nio.charset.Charset encoding)Sets the encoding for the object message.(package private) voidFileModeCache.CacheItem. setMode(FileMode mode)abstract voidGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Signs the specified commit.abstract voidGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Signs the specified commit.voidGpgObjectSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Signs the specified object.voidGpgObjectSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Signs the specified object.GpgSignatureVerifier.SignatureVerificationGpgSignatureVerifier. verifySignature(RevObject object, GpgConfig config)Verifies the signature on a signed commit or tag.GpgSignatureVerifier.SignatureVerificationGpgSignatureVerifier. verifySignature(RevObject object, GpgConfig config)Verifies the signature on a signed commit or tag.(package private) static voidObjectBuilder. writeEncoding(java.nio.charset.Charset encoding, java.io.OutputStream out)Writes an "encoding" header.(package private) static voidObjectBuilder. writeEncoding(java.nio.charset.Charset encoding, java.io.OutputStream out)Writes an "encoding" header.(package private) static voidObjectBuilder. writeMultiLineHeader(java.lang.String in, java.io.OutputStream out, boolean enforceAscii)Writes signature to output as per gpgsig header.(package private) static voidObjectBuilder. writeMultiLineHeader(java.lang.String in, java.io.OutputStream out, boolean enforceAscii)Writes signature to output as per gpgsig header.static voidObjectIdSerializer. writeWithoutMarker(java.io.OutputStream out, AnyObjectId id)Write a non-nullObjectIdto the stream.Constructor parameters in org.eclipse.jgit.lib with annotations of type NonNull Constructor Description CacheItem(FileMode mode)Creates a newFileModeCache.CacheItem.FileModeCache(Repository repo)Creates a newFileModeCachefor aRepository.GpgSignature(byte[] signature)Creates a new instance with the specified signatureObjectIdRef(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing.ObjectIdRef(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p)Create a new ref pairing.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p)Create a new ref pairing.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p)Create a new ref pairing.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p, long updateIndex)Create a new ref pairing with update index.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p, long updateIndex)Create a new ref pairing with update index.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p, long updateIndex)Create a new ref pairing with update index.SymbolicRef(java.lang.String refName, Ref target)Create a new ref pairing.SymbolicRef(java.lang.String refName, Ref target)Create a new ref pairing.SymbolicRef(java.lang.String refName, Ref target, long updateIndex)Create a new ref pairing.SymbolicRef(java.lang.String refName, Ref target, long updateIndex)Create a new ref pairing.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index. -
Uses of NonNull in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with annotations of type NonNull Modifier and Type Method Description RevFilterRevWalk. getRevFilter()Get the currently configured commit filter.TreeFilterRevWalk. getTreeFilter()Get the tree filter used to simplify commits by modified paths.RevObjectRevWalk. lookupAny(AnyObjectId id, int type)Locate a reference to any object without loading it.RevBlobRevWalk. lookupBlob(AnyObjectId id)Locate a reference to a blob without loading it.RevCommitRevWalk. lookupCommit(AnyObjectId id)Locate a reference to a commit without loading it.RevTagRevWalk. lookupTag(AnyObjectId id)Locate a reference to a tag without loading it.RevTreeRevWalk. lookupTree(AnyObjectId id)Locate a reference to a tree without loading it.RevObjectRevWalk. parseAny(AnyObjectId id)Locate a reference to any object and immediately parse its headers.RevCommitRevWalk. parseCommit(AnyObjectId id)Locate a reference to a commit and immediately parse its content.RevTagRevWalk. parseTag(AnyObjectId id)Locate a reference to an annotated tag and immediately parse its content.RevTreeRevWalk. parseTree(AnyObjectId id)Locate a reference to a tree. -
Uses of NonNull in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport with annotations of type NonNull Modifier and Type Field Description private java.util.List<java.lang.String>FetchV2Request. packfileUriProtocolsprivate java.util.List<java.lang.String>FetchV2Request. serverOptionsprivate java.util.List<java.lang.String>LsRefsV2Request. serverOptionsMethods in org.eclipse.jgit.transport with annotations of type NonNull Modifier and Type Method Description private java.util.Map<java.lang.String,Ref>UploadPack. exactRefs(java.util.List<java.lang.String> names)Read refs on behalf of the client.(package private) java.util.Set<java.lang.String>FetchRequest. getClientCapabilities()Capabilities that the client wants enabled from the server.(package private) java.util.Set<ObjectId>FetchRequest. getClientShallowCommits()Shallow commits the client already has.(package private) java.util.List<java.lang.String>FetchRequest. getDeepenNotRefs()java.util.List<java.lang.String>HttpConfig. getExtraHeaders()Get the "http.extraHeader" setting(package private) FilterSpecFetchRequest. getFilterSpec()HttpConnectionFactoryTransportHttp. getHttpConnectionFactory()Retrieves theHttpConnectionFactoryused by thisTransportHttpinstance.java.util.Map<java.lang.String,java.util.List<java.lang.String>>SshConfigStore.HostConfig. getMultiValuedOptions()Retrieves an unmodifiable map of all multi- or list-valued options, with case-insensitive lookup by keys.java.util.Map<java.lang.String,java.lang.String>SshConfigStore.HostConfig. getOptions()Retrieves an unmodifiable map of all single-valued options, with case-insensitive lookup by keys.(package private) java.util.List<java.lang.String>FetchV2Request. getPackfileUriProtocols()(package private) java.util.List<ObjectId>FetchV2Request. getPeerHas()java.util.List<java.lang.String>FetchV2Request. getServerOptions()Options received in server-option lines.java.util.List<java.lang.String>LsRefsV2Request. getServerOptions()Get application-specific options provided by the client using --server-option.java.util.List<java.lang.String>FetchV2Request. getWantedRefs()(package private) java.util.Set<ObjectId>FetchRequest. getWantIds()SshConfigStore.HostConfigSshConfigStore. lookup(java.lang.String hostName, int port, java.lang.String userName)Locate the configuration for a specific host request.private static java.util.Map<java.lang.String,Ref>UploadPack. mapRefs(java.util.Map<java.lang.String,Ref> refs, java.util.List<java.lang.String> names)Returns the specified references.Method parameters in org.eclipse.jgit.transport with annotations of type NonNull Modifier and Type Method Description (package private) FetchV2Request.BuilderFetchV2Request.Builder. addPackfileUriProtocol(java.lang.String value)(package private) FetchV2Request.BuilderFetchV2Request.Builder. addServerOption(java.lang.String value)Records an application-specific option supplied in a server-option line, for later retrieval withFetchV2Request.getServerOptions().LsRefsV2Request.BuilderLsRefsV2Request.Builder. addServerOption(java.lang.String value)Records an application-specific option supplied in a server-option line, for later retrieval withLsRefsV2Request.getServerOptions().static ReceiveCommandReceiveCommand. link(java.lang.String oldTarget, java.lang.String newTarget, java.lang.String name)Create a command to switch a symbolic reference's target.static ReceiveCommandReceiveCommand. link(java.lang.String oldTarget, java.lang.String newTarget, java.lang.String name)Create a command to switch a symbolic reference's target.static ReceiveCommandReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)Create a command to switch a reference from object to symbolic.static ReceiveCommandReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)Create a command to switch a reference from object to symbolic.static ReceiveCommandReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)Create a command to switch a reference from object to symbolic.SshConfigStore.HostConfigSshConfigStore. lookup(java.lang.String hostName, int port, java.lang.String userName)Locate the configuration for a specific host request.(package private) FetchV0Request.BuilderFetchV0Request.Builder. setFilterSpec(FilterSpec filter)(package private) FetchV2Request.BuilderFetchV2Request.Builder. setFilterSpec(FilterSpec filter)voidTransport. setFilterSpec(FilterSpec filter)voidTransportHttp. setHttpConnectionFactory(HttpConnectionFactory customFactory)Sets theHttpConnectionFactoryto be used by thisTransportHttpinstance.(package private) voidBasePackConnection. setProtocolVersion(TransferConfig.ProtocolVersion protocol)static ReceiveCommandReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)Create a command to switch a reference from symbolic to object.static ReceiveCommandReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)Create a command to switch a reference from symbolic to object.static ReceiveCommandReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)Create a command to switch a reference from symbolic to object.Constructor parameters in org.eclipse.jgit.transport with annotations of type NonNull Constructor Description FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)LsRefsV2Request(java.util.List<java.lang.String> refPrefixes, boolean symrefs, boolean peel, java.lang.String agent, java.util.List<java.lang.String> serverOptions) -
Uses of NonNull in org.eclipse.jgit.transport.http
Methods in org.eclipse.jgit.transport.http with annotations of type NonNull Modifier and Type Method Description HttpConnectionHttpConnectionFactory2.GitSession. configure(HttpConnection connection, boolean sslVerify)Configure a just createdHttpConnection.HttpConnectionFactory2.GitSessionHttpConnectionFactory2. newSession()Creates a newHttpConnectionFactory2.GitSessioninstance that can be used with connections created by thisHttpConnectionFactoryinstance.Method parameters in org.eclipse.jgit.transport.http with annotations of type NonNull Modifier and Type Method Description HttpConnectionHttpConnectionFactory2.GitSession. configure(HttpConnection connection, boolean sslVerify)Configure a just createdHttpConnection.java.lang.StringHttpConnection. getHeaderField(java.lang.String name)Get header field.java.lang.StringJDKHttpConnection. getHeaderField(java.lang.String name)Get header field.java.util.List<java.lang.String>HttpConnection. getHeaderFields(java.lang.String name)Get all values of given header field.java.util.List<java.lang.String>JDKHttpConnection. getHeaderFields(java.lang.String name) -
Uses of NonNull in org.eclipse.jgit.transport.http.apache
Method parameters in org.eclipse.jgit.transport.http.apache with annotations of type NonNull Modifier and Type Method Description java.lang.StringHttpClientConnection. getHeaderField(java.lang.String name)Get header field.java.util.List<java.lang.String>HttpClientConnection. getHeaderFields(java.lang.String name)(package private) voidHttpClientConnection. setSSLSocketFactory(org.apache.http.conn.ssl.SSLConnectionSocketFactory factory, boolean isDefault) -
Uses of NonNull in org.eclipse.jgit.transport.sshd
Fields in org.eclipse.jgit.transport.sshd with annotations of type NonNull Modifier and Type Field Description private java.net.ProxyProxyData. proxyMethods in org.eclipse.jgit.transport.sshd with annotations of type NonNull Modifier and Type Method Description private org.apache.sshd.common.config.keys.FilePasswordProviderSshdSessionFactory. createFilePasswordProvider(java.util.function.Supplier<KeyPasswordProvider> providerFactory)Creates aFilePasswordProviderfor a new session.protected KeyPasswordProviderSshdSessionFactory. createKeyPasswordProvider(CredentialsProvider provider)Creates aKeyPasswordProviderfor a new session.protected ServerKeyDatabaseSshdSessionFactory. createServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Creates aServerKeyDatabaseto verify server host keys.protected java.util.List<java.nio.file.Path>SshdSessionFactory. getDefaultIdentities(java.io.File sshDir)Gets a list of default identities, i.e., private key files that shall always be tried for public key authentication.protected java.lang.Iterable<java.security.KeyPair>SshdSessionFactory. getDefaultKeys(java.io.File sshDir)Determines the default keys.protected java.util.List<java.nio.file.Path>SshdSessionFactory. getDefaultKnownHostsFiles(java.io.File sshDir)Gets the list of default user known hosts files.FtpChannelSshdSession. getFtpChannel()Obtain anFtpChannelto perform SFTP operations in thisSshdSession.private org.apache.sshd.client.config.hosts.HostConfigEntryResolverSshdSessionFactory. getHostConfigEntryResolver(java.io.File homeDir, java.io.File sshDir)Obtain aHostConfigEntryResolverto read the ssh config file and to determine host entries for connections.java.net.ProxyProxyData. getProxy()Obtains the remoteInetSocketAddressof the proxy to connect to.protected ServerKeyDatabaseSshdSessionFactory. getServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Obtains aServerKeyDatabaseto verify server host keys.ServerKeyDatabase.Configuration.StrictHostKeyCheckingServerKeyDatabase.Configuration. getStrictHostKeyChecking()Obtains the value of the "StrictHostKeyChecking" ssh config.private java.util.List<org.apache.sshd.client.auth.UserAuthFactory>SshdSessionFactory. getUserAuthFactories()Gets the user authentication mechanisms (or rather, factories for them).java.lang.StringServerKeyDatabase.Configuration. getUsername()Obtains the user name used in the connection attempt.java.util.List<java.security.PublicKey>ServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)Retrieves all known host keys for the given addresses.Method parameters in org.eclipse.jgit.transport.sshd with annotations of type NonNull Modifier and Type Method Description booleanServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)Determines whether to accept a received server host key.booleanServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)Determines whether to accept a received server host key.booleanServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)Determines whether to accept a received server host key.booleanServerKeyDatabase. accept(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, java.security.PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider)Determines whether to accept a received server host key.voidSshdSession. addCloseListener(SessionCloseListener listener)Adds aSessionCloseListenerto this session.SshConfigStoreSshdSessionFactoryBuilder.ConfigStoreFactory. create(java.io.File homeDir, java.io.File configFile, java.lang.String localUserName)Creates aSshConfigStore.protected ServerKeyDatabaseSshdSessionFactory. createServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Creates aServerKeyDatabaseto verify server host keys.protected ServerKeyDatabaseSshdSessionFactory. createServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Creates aServerKeyDatabaseto verify server host keys.protected SshConfigStoreSshdSessionFactory. createSshConfigStore(java.io.File homeDir, java.io.File configFile, java.lang.String localUserName)Obtains aSshConfigStore, ornullif not SSH config is to be used.protected java.util.List<java.nio.file.Path>SshdSessionFactory. getDefaultIdentities(java.io.File sshDir)Gets a list of default identities, i.e., private key files that shall always be tried for public key authentication.protected java.lang.Iterable<java.security.KeyPair>SshdSessionFactory. getDefaultKeys(java.io.File sshDir)Determines the default keys.protected java.util.List<java.nio.file.Path>SshdSessionFactory. getDefaultKnownHostsFiles(java.io.File sshDir)Gets the list of default user known hosts files.private org.apache.sshd.client.config.hosts.HostConfigEntryResolverSshdSessionFactory. getHostConfigEntryResolver(java.io.File homeDir, java.io.File sshDir)Obtain aHostConfigEntryResolverto read the ssh config file and to determine host entries for connections.private org.apache.sshd.client.config.hosts.HostConfigEntryResolverSshdSessionFactory. getHostConfigEntryResolver(java.io.File homeDir, java.io.File sshDir)Obtain aHostConfigEntryResolverto read the ssh config file and to determine host entries for connections.protected char[]IdentityPasswordProvider. getPassword(URIish uri, int attempt, IdentityPasswordProvider.State state)Retrieves a password to decrypt a private key.protected ServerKeyDatabaseSshdSessionFactory. getServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Obtains aServerKeyDatabaseto verify server host keys.protected ServerKeyDatabaseSshdSessionFactory. getServerKeyDatabase(java.io.File homeDir, java.io.File sshDir)Obtains aServerKeyDatabaseto verify server host keys.protected java.io.FileSshdSessionFactory. getSshConfig(java.io.File sshDir)Determines the ssh config file.java.util.List<java.security.PublicKey>ServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)Retrieves all known host keys for the given addresses.java.util.List<java.security.PublicKey>ServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)Retrieves all known host keys for the given addresses.java.util.List<java.security.PublicKey>ServerKeyDatabase. lookup(java.lang.String connectAddress, java.net.InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config)Retrieves all known host keys for the given addresses.voidSshdSession. removeCloseListener(SessionCloseListener listener)Removes the givenlistener; has no effect if the listener is not currently registered with this session.voidSshdSessionFactory. setHomeDirectory(java.io.File homeDir)Set a global directory to use as the user's home directoryvoidSshdSessionFactory. setSshDirectory(java.io.File sshDir)Set a global directory to use as the .ssh directoryConstructor parameters in org.eclipse.jgit.transport.sshd with annotations of type NonNull Constructor Description ProxyData(java.net.Proxy proxy)Creates a newProxyDatainstance without user name or password.ProxyData(java.net.Proxy proxy, java.lang.String proxyUser, char[] proxyPassword)Creates a newProxyDatainstance. -
Uses of NonNull in org.eclipse.jgit.util
Fields in org.eclipse.jgit.util with annotations of type NonNull Modifier and Type Field Description private java.time.DurationFS.FileStoreAttributes. fsTimestampResolutionMethods in org.eclipse.jgit.util with annotations of type NonNull Modifier and Type Method Description java.time.DurationFS.FileStoreAttributes. getFsTimestampResolution()Method parameters in org.eclipse.jgit.util with annotations of type NonNull Modifier and Type Method Description static FS.FileStoreAttributesFS. getFileStoreAttributes(java.nio.file.Path dir)Get cached FileStore attributes, if not yet available measure them using a probe file under the given directory.private java.io.FileFS. getRunDirectory(Repository repository, java.lang.String hookName)VSimpleLruCache. put(K key, V value)Maps the specified key to the specified value in this cache.VSimpleLruCache. put(K key, V value)Maps the specified key to the specified value in this cache.Constructor parameters in org.eclipse.jgit.util with annotations of type NonNull Constructor Description FileStoreAttributes(java.time.Duration fsTimestampResolution)Construct a FileStoreAttributeCache entry for the given filesystem timestamp resolution
-