Uses of Annotation Interface
org.eclipse.jgit.annotations.NonNull
Packages that use NonNull
Package
Description
High-level API commands (the porcelain of JGit).
Events and listener interfaces.
Ignore rule parser/matcher (for .gitignore entries).
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Walking revision graphs (commit history).
Transport (fetch/push) for different protocols.
Provides a JGit
SshSessionFactory
implemented via Apache MINA
sshd.Service provider interfaces for connecting to an SSH agent.
Utility classes.
-
Uses of NonNull in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api with annotations of type NonNullMethods in org.eclipse.jgit.api with annotations of type NonNullModifier and TypeMethodDescriptionVerifySignatureCommand.call()Resolvesall names added to the command to git objects and verifies their signature.RebaseCommand.InteractiveHandler2.editCommitMessage(String message, CommitConfig.CleanupMode mode, char commentChar) Callback API for editing a commit message on REWORD or SQUASH.RebaseCommand.InteractiveHandler2.ModifyResult.getCleanupMode()Tells how the message returned byRebaseCommand.InteractiveHandler2.ModifyResult.getMessage()should be cleaned.RebaseCommand.InteractiveHandler2.ModifyResult.getMessage()Retrieves the new commit message.Method parameters in org.eclipse.jgit.api with annotations of type NonNullModifier and TypeMethodDescriptionprivate StringRebaseCommand.editCommitMessage(boolean[] doChangeId, String message, CommitConfig.CleanupMode mode) RebaseCommand.InteractiveHandler2.editCommitMessage(String message, CommitConfig.CleanupMode mode, char commentChar) Callback API for editing a commit message on REWORD or SQUASH.RebaseCommand.InteractiveHandler2.editCommitMessage(String message, CommitConfig.CleanupMode mode, char commentChar) Callback API for editing a commit message on REWORD or SQUASH.CommitCommand.setCleanupMode(CommitConfig.CleanupMode mode) Sets theCommitConfig.CleanupModeto apply to the commit message.VerifySignatureCommand.setMode(VerifySignatureCommand.VerifyMode mode) Sets the mode of operation for this command. -
Uses of NonNull in org.eclipse.jgit.events
Methods in org.eclipse.jgit.events with annotations of type NonNullModifier and TypeMethodDescriptionWorkingTreeModifiedEvent.getDeleted()Retrieves theCollectionof repository-relative paths of files that were deleted.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 NonNullModifier and TypeFieldDescriptionprivate final byte[]RepoCommand.RemoteFile.contentsprivate final FileModeRepoCommand.RemoteFile.fileModeMethods in org.eclipse.jgit.gitrepo with annotations of type NonNullModifier and TypeMethodDescriptionbyte[]RepoCommand.RemoteFile.getContents()Contents of the file.RepoCommand.RemoteFile.getFileMode()ManifestParser.getFilteredProjects()Getter for filterdProjects.RepoCommand.RemoteReader.readFileWithMode(String uri, String ref, String path) Read contents and mode (i.e.Constructor parameters in org.eclipse.jgit.gitrepo with annotations of type NonNullModifierConstructorDescriptionRemoteFile(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 NonNullModifier and TypeFieldDescriptionprivate final GpgSignatureVerifier.TrustLevelBouncyCastleGpgSignatureVerifier.VerificationResult.trustLevelMethods in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNullModifier and TypeMethodDescriptionBouncyCastleGpgKeyLocator.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 NonNullModifier and TypeMethodDescriptionvoidBouncyCastleGpgSigner.sign(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) voidBouncyCastleGpgSigner.sign(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) voidBouncyCastleGpgSigner.signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) voidBouncyCastleGpgSigner.signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) BouncyCastleGpgSignatureVerifier.verifySignature(RevObject object, GpgConfig config) BouncyCastleGpgSignatureVerifier.verifySignature(RevObject object, GpgConfig config) Constructor parameters in org.eclipse.jgit.gpg.bc.internal with annotations of type NonNullModifierConstructorDescriptionBouncyCastleGpgKeyLocator(String signingKey, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt) Create a new key locator for the specified signing key.VerificationResult(Date creationDate, String signer, String fingerprint, String user, boolean verified, boolean expired, GpgSignatureVerifier.TrustLevel trust, 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 NonNullModifier and TypeMethodDescriptionstatic 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 NonNullModifier and TypeMethodDescriptionstatic IMatcherIMatcher.createPathMatcher(String pattern, boolean dirOnly) Creates a path matcher for the given pattern.Method parameters in org.eclipse.jgit.ignore with annotations of type NonNullModifier and TypeMethodDescriptionstatic IMatcherIMatcher.createPathMatcher(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 NonNullMethod parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NonNullModifier and TypeMethodDescriptionDfsPackDescription.setPackSource(DfsObjDatabase.PackSource source) Set the source of the pack.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NonNullModifierConstructorDescriptionDfsPackDescription(DfsRepositoryDescription repoDesc, 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 NonNullModifier and TypeMethodDescriptionRead the specified references.RefDirectory.LooseUnpeeled.getObjectId()WindowCache.StatsRecorder.getStats()Returns a snapshot of this recorder's stats.FileReftableDatabase.newBatchUpdate()Create a new batch update to attempt on this database.Method parameters in org.eclipse.jgit.internal.storage.file with annotations of type NonNullModifier and TypeMethodDescriptionvoidGC.setPackConfig(PackConfig pconfig) Set the PackConfig used when (re-)writing packfiles.private PackGC.writePack(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) private PackGC.writePack(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) private PackGC.writePack(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) Constructor parameters in org.eclipse.jgit.internal.storage.file with annotations of type NonNullModifierConstructorDescriptionprivateFileSnapshot(Instant read, Instant modified, long size, Duration fsTimestampResolution, Object fileKey) privateFileSnapshot(Instant read, Instant modified, long size, Duration fsTimestampResolution, Object fileKey) (package private)LooseNonTag(FileSnapshot snapshot, String refName, ObjectId id) (package private)LooseNonTag(FileSnapshot snapshot, String refName, ObjectId id) (package private)LoosePeeledTag(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)LoosePeeledTag(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)LoosePeeledTag(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)LooseSymbolicRef(FileSnapshot snapshot, String refName, Ref target) (package private)LooseSymbolicRef(FileSnapshot snapshot, String refName, Ref target) (package private)LooseUnpeeled(FileSnapshot snapShot, String refName, ObjectId id) (package private)LooseUnpeeled(FileSnapshot snapShot, 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 NonNullModifier and TypeFieldDescriptionprivate final CachedPackUriProviderPackWriter.PackfileUriConfig.cachedPackUriProviderprivate final PacketLineOutPackWriter.PackfileUriConfig.pckOutprivate final Collection<String>PackWriter.PackfileUriConfig.protocolsSupportedMethod parameters in org.eclipse.jgit.internal.storage.pack with annotations of type NonNullModifier and TypeMethodDescriptionprivate 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, Set<? extends AnyObjectId> want) private voidPackWriter.filterAndAddObject(AnyObjectId src, int type, int pathHashCode, Set<? extends AnyObjectId> want) private voidPackWriter.findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private voidPackWriter.findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private voidPackWriter.findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private voidPackWriter.findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private voidPackWriter.findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) voidPackWriter.preparePack(Iterator<RevObject> objectsSource) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, 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 NonNullModifierConstructorDescriptionPackfileUriConfig(PacketLineOut pckOut, Collection<String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider) PackfileUriConfig(PacketLineOut pckOut, Collection<String> protocolsSupported, CachedPackUriProvider cachedPackUriProvider) PackfileUriConfig(PacketLineOut pckOut, Collection<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 NonNullModifier and TypeMethodDescriptionprivate static Set<HttpCookie>NetscapeCookieFile.parseCookieFile(byte[] input, Instant createdAt) Parses the given file and extracts all cookie information from it.private static Set<HttpCookie>NetscapeCookieFile.parseCookieFile(byte[] input, Instant createdAt) Parses the given file and extracts all cookie information from it.private static HttpCookieprivate static HttpCookie(package private) static voidNetscapeCookieFile.write(Writer writer, Collection<HttpCookie> cookies, URL url, Instant createdAt) Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile.write(Writer writer, Collection<HttpCookie> cookies, URL url, Instant createdAt) Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile.write(Writer writer, Collection<HttpCookie> cookies, URL url, Instant createdAt) Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).(package private) static voidNetscapeCookieFile.write(Writer writer, Collection<HttpCookie> cookies, URL url, Instant createdAt) Writes the given cookies to the file in the Netscape Cookie File Format (also used by curl).private static voidNetscapeCookieFile.writeCookie(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static voidNetscapeCookieFile.writeCookie(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static voidNetscapeCookieFile.writeCookie(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static voidNetscapeCookieFile.writeCookie(Writer writer, HttpCookie cookie, URL url, Instant createdAt) -
Uses of NonNull in org.eclipse.jgit.internal.transport.parser
Methods in org.eclipse.jgit.internal.transport.parser with annotations of type NonNullModifier and TypeMethodDescriptionstatic FirstCommandParse the first line of a receive-pack request.FirstCommand.getCapabilities()FirstCommand.getLine() -
Uses of NonNull in org.eclipse.jgit.internal.transport.ssh
Methods in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNullModifier and TypeMethodDescriptionOpenSshConfigFile.HostEntry.getMultiValuedOptions()Retrieves an unmodifiable map of all multi-valued options, with case-insensitive lookup by keys.OpenSshConfigFile.HostEntry.getOptions()Retrieves an unmodifiable map of all single-valued options, with case-insensitive lookup by keys.Locate the configuration for a specific host request.OpenSshConfigFile.lookupDefault(String hostName, int port, String userName) private StringOpenSshConfigFile.toCacheKey(String hostName, int port, String userName) Method parameters in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNullModifier and TypeMethodDescriptionLocate the configuration for a specific host request.private OpenSshConfigFile.HostEntryOpenSshConfigFile.lookupDefault(String hostName, int port, String userName) private StringOpenSshConfigFile.toCacheKey(String hostName, int port, String userName) Constructor parameters in org.eclipse.jgit.internal.transport.ssh with annotations of type NonNullModifierConstructorDescriptionOpenSshConfigFile(File home, File config, String localUserName) Creates a newOpenSshConfigFilethat will read the config from fileconfiguse the given filehomeas "home" directory.OpenSshConfigFile(File home, File config, String localUserName) Creates a newOpenSshConfigFilethat will read the config from fileconfiguse the given filehomeas "home" directory.OpenSshConfigFile(File home, File config, 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 NonNullModifier and TypeFieldDescriptionprivate final ServerKeyDatabase.ConfigurationOpenSshServerKeyDatabase.AskUser.configprivate final ServerKeyDatabaseJGitServerKeyVerifier.databaseMethods in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNullModifier and TypeMethodDescriptionstatic StringGssApiMechanisms.getCanonicalName(InetSocketAddress remote) Determines a canonical host name for use use with GSS-API.JGitHostConfigEntry.getMultiValuedOptions()Retrieves all multi-valued options.static Collection<Oid>GssApiMechanisms.getSupportedMechanisms()Retrieves an immutable collection of the supported mechanisms.ServerKeyLookup.lookup(org.apache.sshd.client.session.ClientSession session, SocketAddress remote) Retrieves all public keys known for a given remote.Method parameters in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNullModifier and TypeMethodDescriptionbooleanOpenSshServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) booleanOpenSshServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) booleanOpenSshServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) booleanOpenSshServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) static GSSContextGssApiMechanisms.createContext(Oid mechanism, String fqdn) Creates aGSSContextfor the given mechanism to authenticate with the host given byfqdn.static GSSContextGssApiMechanisms.createContext(Oid mechanism, String fqdn) Creates aGSSContextfor the given mechanism to authenticate with the host given byfqdn.static voidMark the mechanisms as failed.private Collection<org.apache.sshd.common.util.net.SshdSocketAddress>OpenSshServerKeyDatabase.getCandidates(String connectAddress, InetSocketAddress remoteAddress) private Collection<org.apache.sshd.common.util.net.SshdSocketAddress>OpenSshServerKeyDatabase.getCandidates(String connectAddress, InetSocketAddress remoteAddress) static StringGssApiMechanisms.getCanonicalName(InetSocketAddress remote) Determines a canonical host name for use use with GSS-API.private List<OpenSshServerKeyDatabase.HostKeyFile>OpenSshServerKeyDatabase.getFilesToUse(ServerKeyDatabase.Configuration config) OpenSshServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) OpenSshServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) OpenSshServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) static InetAddressGssApiMechanisms.resolve(InetSocketAddress remote) Resolves anInetSocketAddress.private org.apache.sshd.common.util.net.SshdSocketAddressOpenSshServerKeyDatabase.toSshdSocketAddress(String address) static voidReport that this mechanism was used successfully.Constructor parameters in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNullModifierConstructorDescriptionAskUser(ServerKeyDatabase.Configuration config, CredentialsProvider provider) JGitServerKeyVerifier(ServerKeyDatabase database) Creates a newJGitServerKeyVerifierusing the givenServerKeyDatabase.Creates a newPasswordProviderWrapper. -
Uses of NonNull in org.eclipse.jgit.internal.transport.sshd.agent
Fields in org.eclipse.jgit.internal.transport.sshd.agent with annotations of type NonNullConstructor parameters in org.eclipse.jgit.internal.transport.sshd.agent with annotations of type NonNullModifierConstructorDescriptionJGitSshAgentFactory(ConnectorFactory factory, File homeDir) Creates a newJGitSshAgentFactory. -
Uses of NonNull in org.eclipse.jgit.internal.transport.sshd.proxy
Methods in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNullModifier and TypeMethodDescriptionAuthenticationChallenge.getArguments()Retrieves the arguments of the challenge.Method parameters in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNullModifier and TypeMethodDescriptionprivate static GSSContextSocks5ClientConnector.getGSSContext(InetSocketAddress address) private static byte[]Socks5ClientConnector.getRawAddress(InetSocketAddress address) Constructor parameters in org.eclipse.jgit.internal.transport.sshd.proxy with annotations of type NonNullModifierConstructorDescriptionAbstractClientProxyConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newAbstractClientProxyConnector.AbstractClientProxyConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newAbstractClientProxyConnector.HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress) Creates a newHttpClientConnector.HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress) Creates a newHttpClientConnector.HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newHttpClientConnector.HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newHttpClientConnector.Socks5ClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress) Creates a newSocks5ClientConnector.Socks5ClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress) Creates a newSocks5ClientConnector.Socks5ClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newSocks5ClientConnector.Socks5ClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a newSocks5ClientConnector. -
Uses of NonNull in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with annotations of type NonNullModifier and TypeMethodDescriptionstatic HttpConnectionLfsConnectionFactory.getLfsContentConnection(Repository repo, Protocol.Action action, String method) Create a connection for the specifiedProtocol.Action. -
Uses of NonNull in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib with annotations of type NonNullModifier and TypeMethodDescriptionabstract byte[]ObjectBuilder.build()Format this builder's state as a git object.abstract AttributesNodeProviderRepository.createAttributesNodeProvider()Create a newAttributesNodeProvider.ObjectReader.createObjectReachabilityChecker(ObjectWalk ow) Create an object reachability checker that will use bitmaps if possible.ObjectReader.createReachabilityChecker(RevWalk rw) Create a reachability checker that will use bitmaps if possible.Read the specified references.Repository.getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().RefDatabase.getAdditionalRefs()Get the additional reference-like entities from the repository.Repository.getAllRefs()Deprecated.Map<AnyObjectId,Set<Ref>> Repository.getAllRefsByPeeledObjectId()Get a map with all objects referenced by a peeled ref.CommitConfig.getCleanupMode()Retrieves theCommitConfig.CleanupModeas given by git configcommit.cleanup.abstract StoredConfigRepository.getConfig()Get the configuration of this repository.RefDatabase.getConflictingNames(String name) Determine if a proposed reference cannot coexist with existing ones.GpgSignatureVerifier.SignatureVerification.getCreationDate()ObjectBuilder.getEncoding()Retrieves the encoding that should be used for the message text.Repository.getIndexFile()Get the index file location ornullif repository isn't local.BaseRepositoryBuilder.getInitialBranch()Get the initial branch of the new repository.protected StringRepository.getInitialBranch()Get the initial branch name of a new repositoryObjectIdRef.getLeaf()Traverse target references untilRef.isSymbolic()is false.Ref.getLeaf()Traverse target references untilRef.isSymbolic()is false.SymbolicRef.getLeaf()Traverse target references untilRef.isSymbolic()is false.Repository.getListenerList()Get listeners observing only events on this repository.GpgSignatureVerifier.getName()Retrieves the name of this verifier.ObjectIdRef.getName()What this ref is called within the repository.Ref.getName()What this ref is called within the repository.SymbolicRef.getName()What this ref is called within the repository.abstract ObjectDatabaseRepository.getObjectDatabase()Get the object database which stores this repository's data.ObjectIdRef.PeeledTag.getPeeledObjectId()abstract RefDatabaseRepository.getRefDatabase()Get the reference database which stores the reference namespace.RefDatabase.getRefs()Returns all refs.Deprecated.useRefDatabase.getRefsByPrefix(java.lang.String)insteadRefDatabase.getRefsByPrefix(String prefix) Returns refs whose names start with a given prefix.RefDatabase.getRefsByPrefix(String... prefixes) Returns refs whose names start with one of the given prefixes.RefDatabase.getRefsByPrefixWithExclusions(String include, Set<String> excludes) Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.DefaultTypedConfigGetter.getRefSpecs(Config config, String section, String subsection, String name) TypedConfigGetter.getRefSpecs(Config config, String section, String subsection, String name) Repository.getRemoteNames()Get the names of all known remotesRepository.getRepositoryState()Get the repository stateObjectIdRef.getStorage()How was this ref obtained?Ref.getStorage()How was this ref obtained?SymbolicRef.getStorage()How was this ref obtained?Repository.getTags()Deprecated.usegetRefDatabase().getRefsByPrefix(R_TAGS)insteadObjectIdRef.getTarget()Get the reference this reference points to, orthis.Ref.getTarget()Get the reference this reference points to, orthis.SymbolicRef.getTarget()Get the reference this reference points to, orthis.RefDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.GpgSignatureVerifier.SignatureVerification.getTrustLevel()Obtains the trust level of the public key used to verify the signature.Repository.getWorkTree()Get the root directory of the working tree, where files are checked out for viewing and editing.Repository.lockDirCache()Create a new in-core index representation, lock it, and read from disk.RefDatabase.newBatchUpdate()Create a new batch update to attempt on this database.Repository.newObjectInserter()Create a new inserter to create objects inRepository.getObjectDatabase().Repository.newObjectReader()Create a new reader to read objects fromRepository.getObjectDatabase().abstract RefRenameCreate a new update command to rename a reference.abstract RefUpdateCreate a new update command to create, modify or delete a reference.Repository.open(AnyObjectId objectId) Open an object from this repository.Repository.open(AnyObjectId objectId, int typeHint) Open an object from this repository.abstract RefPeel a possibly unpeeled reference by traversing the annotated tags.Deprecated.usegetRefDatabase().peel(ref)instead.Repository.readDirCache()Create a new in-core index representation and read an index from disk.Repository.readRebaseTodo(String path, boolean includeComments) Read a file formatted like the git-rebase-todo file.static ObjectIdObjectIdSerializer.readWithoutMarker(InputStream in) Read a non-nullObjectIdfrom the stream.Create a command to rename a ref in this repositoryCommitConfig.resolve(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupModefrom the given mode and the git config.static StringRepository.shortenRefName(String refName) Get a shortened more user friendly ref namestatic StringRepository.stripWorkDir(File workDir, File file) Strip work dir and return normalized repository path.ObjectIdRef.toString()Repository.toString()Create a command to update, create or delete a ref in this repository.Create a command to update, create or delete a ref in this repository.Method parameters in org.eclipse.jgit.lib with annotations of type NonNullModifier and TypeMethodDescriptionbooleanGpgObjectSigner.canLocateSigningKey(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(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Indicates if a signing key is available for the specified committer and/or signing key.static StringCommitConfig.cleanText(String text, CommitConfig.CleanupMode mode, char commentChar) Processes a text according to the givenCommitConfig.CleanupMode.static StringCommitConfig.cleanText(String text, CommitConfig.CleanupMode mode, char commentChar) Processes a text according to the givenCommitConfig.CleanupMode.static voidRepositoryCache.close(Repository db) Close and remove a repository from the cache.CommitConfig.getCommitTemplateContent(Repository repository) Get the content to the commit template as defined incommit.template.Config.getPath(String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value and treat it as a file path, replacing a ~/ prefix by the user's home directory.default PathTypedConfigGetter.getPath(Config config, String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value from a gitConfigand treat it as a file path, replacing a ~/ prefix by the user's home directory.(package private) static booleanRepositoryCache.isCached(Repository repo) private voidObjectChecker.report(ObjectChecker.ErrorType err, AnyObjectId id, String why) CommitConfig.resolve(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupModefrom the given mode and the git config.voidObjectBuilder.setEncoding(Charset encoding) Sets the encoding for the object message.abstract voidGpgSigner.sign(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Signs the specified commit.abstract voidGpgSigner.sign(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Signs the specified commit.voidGpgObjectSigner.signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) Signs the specified object.voidGpgObjectSigner.signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) Signs the specified object.GpgSignatureVerifier.verifySignature(RevObject object, GpgConfig config) Verifies the signature on a signed commit or tag.GpgSignatureVerifier.verifySignature(RevObject object, GpgConfig config) Verifies the signature on a signed commit or tag.(package private) static voidObjectBuilder.writeEncoding(Charset encoding, OutputStream out) Writes an "encoding" header.(package private) static voidObjectBuilder.writeEncoding(Charset encoding, OutputStream out) Writes an "encoding" header.(package private) static voidObjectBuilder.writeMultiLineHeader(String in, OutputStream out, boolean enforceAscii) Writes signature to output as per gpgsig header.(package private) static voidObjectBuilder.writeMultiLineHeader(String in, OutputStream out, boolean enforceAscii) Writes signature to output as per gpgsig header.static voidObjectIdSerializer.writeWithoutMarker(OutputStream out, AnyObjectId id) Write a non-nullObjectIdto the stream.Constructor parameters in org.eclipse.jgit.lib with annotations of type NonNullModifierConstructorDescriptionGpgSignature(byte[] signature) Creates a new instance with the specified signatureprotectedObjectIdRef(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing.protectedObjectIdRef(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing.PeeledNonTag(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.PeeledNonTag(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.PeeledNonTag(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index.PeeledNonTag(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p) Create a new ref pairing.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p) Create a new ref pairing.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p) Create a new ref pairing.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p, long updateIndex) Create a new ref pairing with update index.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p, long updateIndex) Create a new ref pairing with update index.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p, long updateIndex) Create a new ref pairing with update index.SymbolicRef(String refName, Ref target) Create a new ref pairing.SymbolicRef(String refName, Ref target) Create a new ref pairing.SymbolicRef(String refName, Ref target, long updateIndex) Create a new ref pairing.SymbolicRef(String refName, Ref target, long updateIndex) Create a new ref pairing.Unpeeled(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.Unpeeled(Ref.Storage st, String name, ObjectId id) Create a new ref pairing.Unpeeled(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index.Unpeeled(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing with update index. -
Uses of NonNull in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge with annotations of type NonNullModifier and TypeFieldDescriptionprivate ContentMergeStrategyResolveMerger.contentStrategyTheContentMergeStrategyto use for "resolve" and "recursive" merges.private ContentMergeStrategyMergeAlgorithm.strategyMethods in org.eclipse.jgit.merge with annotations of type NonNullModifier and TypeMethodDescriptionMergeAlgorithm.getContentMergeStrategy()Retrieves theContentMergeStrategy.ResolveMerger.getContentMergeStrategy()Retrieves the content merge strategy for content conflicts. -
Uses of NonNull in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with annotations of type NonNullModifier and TypeMethodDescriptionRevWalk.getRevFilter()Get the currently configured commit filter.RevWalk.getTreeFilter()Get the tree filter used to simplify commits by modified paths.RevWalk.lookupAny(AnyObjectId id, int type) Locate a reference to any object without loading it.RevWalk.lookupBlob(AnyObjectId id) Locate a reference to a blob without loading it.RevWalk.lookupCommit(AnyObjectId id) Locate a reference to a commit without loading it.RevWalk.lookupTag(AnyObjectId id) Locate a reference to a tag without loading it.RevWalk.lookupTree(AnyObjectId id) Locate a reference to a tree without loading it.RevWalk.parseAny(AnyObjectId id) Locate a reference to any object and immediately parse its headers.RevWalk.parseCommit(AnyObjectId id) Locate a reference to a commit and immediately parse its content.RevWalk.parseTag(AnyObjectId id) Locate a reference to an annotated tag and immediately parse its content.RevWalk.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 NonNullModifier and TypeFieldDescriptionFetchV2Request.packfileUriProtocolsFetchV2Request.serverOptionsLsRefsV2Request.serverOptionsMethods in org.eclipse.jgit.transport with annotations of type NonNullModifier and TypeMethodDescriptionRead refs on behalf of the client.FetchRequest.getClientCapabilities()Capabilities that the client wants enabled from the server.FetchRequest.getClientShallowCommits()Shallow commits the client already has.FetchRequest.getDeepenNotRefs()HttpConfig.getExtraHeaders()Get the "http.extraHeader" setting(package private) FilterSpecFetchRequest.getFilterSpec()TransportHttp.getHttpConnectionFactory()Retrieves theHttpConnectionFactoryused by thisTransportHttpinstance.SshConfigStore.HostConfig.getMultiValuedOptions()Retrieves an unmodifiable map of all multi- or list-valued options, with case-insensitive lookup by keys.SshConfigStore.HostConfig.getOptions()Retrieves an unmodifiable map of all single-valued options, with case-insensitive lookup by keys.FetchV2Request.getPackfileUriProtocols()FetchV2Request.getPeerHas()FetchV2Request.getServerOptions()Options received in server-option lines.LsRefsV2Request.getServerOptions()Get application-specific options provided by the client using --server-option.FetchV2Request.getWantedRefs()FetchRequest.getWantIds()Locate the configuration for a specific host request.SshConfigStore.lookupDefault(String hostName, int port, String userName) Locate the configuration for a specific host request and if the configuration has no values forSshConstants.HOST_NAME,SshConstants.PORT,SshConstants.USER, orSshConstants.CONNECTION_ATTEMPTS, fill those values with defaults from the arguments: ssh config key value from argumentHostNamehostNamePortport > 0 ? port : 22UseruserNameConnectionAttempts1Returns the specified references.Method parameters in org.eclipse.jgit.transport with annotations of type NonNullModifier and TypeMethodDescription(package private) FetchV2Request.BuilderFetchV2Request.Builder.addPackfileUriProtocol(String value) (package private) FetchV2Request.BuilderFetchV2Request.Builder.addServerOption(String value) Records an application-specific option supplied in a server-option line, for later retrieval withFetchV2Request.getServerOptions().LsRefsV2Request.Builder.addServerOption(String value) Records an application-specific option supplied in a server-option line, for later retrieval withLsRefsV2Request.getServerOptions().static ReceiveCommandCreate a command to switch a symbolic reference's target.static ReceiveCommandCreate a command to switch a symbolic reference's target.static ReceiveCommandCreate a command to switch a reference from object to symbolic.static ReceiveCommandCreate a command to switch a reference from object to symbolic.static ReceiveCommandCreate a command to switch a reference from object to symbolic.Locate the configuration for a specific host request.SshConfigStore.lookupDefault(String hostName, int port, String userName) Locate the configuration for a specific host request and if the configuration has no values forSshConstants.HOST_NAME,SshConstants.PORT,SshConstants.USER, orSshConstants.CONNECTION_ATTEMPTS, fill those values with defaults from the arguments: ssh config key value from argumentHostNamehostNamePortport > 0 ? port : 22UseruserNameConnectionAttempts1(package private) FetchV0Request.BuilderFetchV0Request.Builder.setFilterSpec(FilterSpec filter) (package private) FetchV2Request.BuilderFetchV2Request.Builder.setFilterSpec(FilterSpec filter) final voidTransport.setFilterSpec(FilterSpec filter) voidTransportHttp.setHttpConnectionFactory(HttpConnectionFactory customFactory) Sets theHttpConnectionFactoryto be used by thisTransportHttpinstance.(package private) voidBasePackConnection.setProtocolVersion(TransferConfig.ProtocolVersion protocol) static ReceiveCommandCreate a command to switch a reference from symbolic to object.static ReceiveCommandCreate a command to switch a reference from symbolic to object.static ReceiveCommandCreate a command to switch a reference from symbolic to object.Constructor parameters in org.eclipse.jgit.transport with annotations of type NonNullModifierConstructorDescription(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) privateLsRefsV2Request(List<String> refPrefixes, boolean symrefs, boolean peel, String agent, List<String> serverOptions) (package private)RemoteRefUpdate(Repository localDb, boolean forceUpdate, Collection<RefSpec> fetchSpecs) Creates a "placeholder" update for the "matching" RefSpec ":". -
Uses of NonNull in org.eclipse.jgit.transport.http
Methods in org.eclipse.jgit.transport.http with annotations of type NonNullModifier and TypeMethodDescriptionHttpConnectionFactory2.GitSession.configure(HttpConnection connection, boolean sslVerify) Configure a just createdHttpConnection.HttpConnectionFactory2.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 NonNullModifier and TypeMethodDescriptionHttpConnectionFactory2.GitSession.configure(HttpConnection connection, boolean sslVerify) Configure a just createdHttpConnection.HttpConnection.getHeaderField(String name) Get header field.JDKHttpConnection.getHeaderField(String name) Get header field.HttpConnection.getHeaderFields(String name) Get all values of given header field.JDKHttpConnection.getHeaderFields(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 NonNullModifier and TypeMethodDescriptionHttpClientConnection.getHeaderField(String name) Get header field.HttpClientConnection.getHeaderFields(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 NonNullMethods in org.eclipse.jgit.transport.sshd with annotations of type NonNullModifier and TypeMethodDescriptionprivate org.apache.sshd.common.config.keys.FilePasswordProviderSshdSessionFactory.createFilePasswordProvider(Supplier<KeyPasswordProvider> providerFactory) Creates aFilePasswordProviderfor a new session.protected KeyPasswordProviderSshdSessionFactory.createKeyPasswordProvider(CredentialsProvider provider) Creates aKeyPasswordProviderfor a new session.protected ServerKeyDatabaseSshdSessionFactory.createServerKeyDatabase(File homeDir, File sshDir) Creates aServerKeyDatabaseto verify server host keys.SshdSessionFactory.getDefaultIdentities(File sshDir) Gets a list of default identities, i.e., private key files that shall always be tried for public key authentication.SshdSessionFactory.getDefaultKeys(File sshDir) Determines the default keys.SshdSessionFactory.getDefaultKnownHostsFiles(File sshDir) Gets the list of default user known hosts files.SshdSession.getFtpChannel()Obtain anFtpChannelto perform SFTP operations in thisSshdSession.private org.apache.sshd.client.config.hosts.HostConfigEntryResolverSshdSessionFactory.getHostConfigEntryResolver(File homeDir, File sshDir) Obtain aHostConfigEntryResolverto read the ssh config file and to determine host entries for connections.ProxyData.getProxy()Obtains the remoteInetSocketAddressof the proxy to connect to.protected ServerKeyDatabaseSshdSessionFactory.getServerKeyDatabase(File homeDir, File sshDir) Obtains aServerKeyDatabaseto verify server host keys.ServerKeyDatabase.Configuration.getStrictHostKeyChecking()Obtains the value of the "StrictHostKeyChecking" ssh config.private List<org.apache.sshd.client.auth.UserAuthFactory>SshdSessionFactory.getUserAuthFactories()Gets the user authentication mechanisms (or rather, factories for them).ServerKeyDatabase.Configuration.getUsername()Obtains the user name used in the connection attempt.ServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) Retrieves all known and not revoked host keys for the given addresses.Method parameters in org.eclipse.jgit.transport.sshd with annotations of type NonNullModifier and TypeMethodDescriptionbooleanServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.booleanServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.booleanServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.booleanServerKeyDatabase.accept(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.voidSshdSession.addCloseListener(SessionCloseListener listener) Adds aSessionCloseListenerto this session.SshdSessionFactoryBuilder.ConfigStoreFactory.create(File homeDir, File configFile, String localUserName) Creates aSshConfigStore.protected ServerKeyDatabaseSshdSessionFactory.createServerKeyDatabase(File homeDir, File sshDir) Creates aServerKeyDatabaseto verify server host keys.protected ServerKeyDatabaseSshdSessionFactory.createServerKeyDatabase(File homeDir, File sshDir) Creates aServerKeyDatabaseto verify server host keys.protected SshConfigStoreSshdSessionFactory.createSshConfigStore(File homeDir, File configFile, String localUserName) Obtains aSshConfigStore, ornullif not SSH config is to be used.SshdSessionFactory.getDefaultIdentities(File sshDir) Gets a list of default identities, i.e., private key files that shall always be tried for public key authentication.SshdSessionFactory.getDefaultKeys(File sshDir) Determines the default keys.SshdSessionFactory.getDefaultKnownHostsFiles(File sshDir) Gets the list of default user known hosts files.private org.apache.sshd.client.config.hosts.HostConfigEntryResolverSshdSessionFactory.getHostConfigEntryResolver(File homeDir, 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(File homeDir, 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(File homeDir, File sshDir) Obtains aServerKeyDatabaseto verify server host keys.protected ServerKeyDatabaseSshdSessionFactory.getServerKeyDatabase(File homeDir, File sshDir) Obtains aServerKeyDatabaseto verify server host keys.protected FileSshdSessionFactory.getSshConfig(File sshDir) Determines the ssh config file.ServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) Retrieves all known and not revoked host keys for the given addresses.ServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) Retrieves all known and not revoked host keys for the given addresses.ServerKeyDatabase.lookup(String connectAddress, InetSocketAddress remoteAddress, ServerKeyDatabase.Configuration config) Retrieves all known and not revoked 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(File homeDir) Set a global directory to use as the user's home directoryvoidSshdSessionFactory.setSshDirectory(File sshDir) Set a global directory to use as the .ssh directoryConstructor parameters in org.eclipse.jgit.transport.sshd with annotations of type NonNull -
Uses of NonNull in org.eclipse.jgit.transport.sshd.agent
Methods in org.eclipse.jgit.transport.sshd.agent with annotations of type NonNullModifier and TypeMethodDescriptionCreates a newConnector.ConnectorFactory.ConnectorDescriptor.getDisplayName()Retrieves a display name for aConnector, suitable for showing in a UI.ConnectorFactory.ConnectorDescriptor.getIdentityAgent()Retrieves the internal name of a supportedConnector.ConnectorFactory.getSupportedConnectors()Tells which kinds of SSH agents thisConnectorFactorysupports. -
Uses of NonNull in org.eclipse.jgit.util
Fields in org.eclipse.jgit.util with annotations of type NonNullModifier and TypeFieldDescriptionprivate final DurationFS.FileStoreAttributes.fsTimestampResolutionMethods in org.eclipse.jgit.util with annotations of type NonNullMethod parameters in org.eclipse.jgit.util with annotations of type NonNullModifier and TypeMethodDescriptionstatic FS.FileStoreAttributesFS.getFileStoreAttributes(Path dir) Get cached FileStore attributes, if not yet available measure them using a probe file under the given directory.private FileFS.getRunDirectory(Repository repository, String hookName) static intStringUtils.parseIntWithSuffix(String value, boolean positiveOnly) Parses a number with optional case-insensitive suffix 'k', 'm', or 'g' indicating KiB, MiB, and GiB, respectively.static longStringUtils.parseLongWithSuffix(String value, boolean positiveOnly) Parses a number with optional case-insensitive suffix 'k', 'm', or 'g' indicating KiB, MiB, and GiB, respectively.Maps the specified key to the specified value in this cache.Maps the specified key to the specified value in this cache.Constructor parameters in org.eclipse.jgit.util with annotations of type NonNullModifierConstructorDescriptionFileStoreAttributes(Duration fsTimestampResolution) Construct a FileStoreAttributeCache entry for the given filesystem timestamp resolution
getRefDatabase().getRefs()instead.