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()
Resolves
all 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 String
RebaseCommand.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.CleanupMode
to 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 theCollection
of repository-relative paths of files that were deleted.WorkingTreeModifiedEvent.getModified()
Retrieves theCollection
of 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.contents
private final FileMode
RepoCommand.RemoteFile.fileMode
Methods 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.TrustLevel
BouncyCastleGpgSignatureVerifier.VerificationResult.trustLevel
Methods 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 TypeMethodDescriptionvoid
BouncyCastleGpgSigner.sign
(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) void
BouncyCastleGpgSigner.sign
(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) void
BouncyCastleGpgSigner.signObject
(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) void
BouncyCastleGpgSigner.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 IMatcher
IMatcher.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 IMatcher
IMatcher.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 TypeMethodDescriptionvoid
GC.setPackConfig
(PackConfig pconfig) Set the PackConfig used when (re-)writing packfiles.private Pack
GC.writePack
(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) private Pack
GC.writePack
(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) private Pack
GC.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 NonNullModifierConstructorDescriptionprivate
FileSnapshot
(Instant read, Instant modified, long size, Duration fsTimestampResolution, Object fileKey) private
FileSnapshot
(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 CachedPackUriProvider
PackWriter.PackfileUriConfig.cachedPackUriProvider
private final PacketLineOut
PackWriter.PackfileUriConfig.pckOut
private final Collection<String>
PackWriter.PackfileUriConfig.protocolsSupported
Method parameters in org.eclipse.jgit.internal.storage.pack with annotations of type NonNullModifier and TypeMethodDescriptionprivate boolean
PackWriter.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 void
PackWriter.filterAndAddObject
(AnyObjectId src, int type, int pathHashCode, Set<? extends AnyObjectId> want) private void
PackWriter.filterAndAddObject
(AnyObjectId src, int type, int pathHashCode, Set<? extends AnyObjectId> want) private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private void
PackWriter.findObjectsToPack
(ProgressMonitor countingMonitor, ObjectWalk walker, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) void
PackWriter.preparePack
(Iterator<RevObject> objectsSource) Prepare the list of objects to be written to the pack stream.void
PackWriter.preparePack
(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.void
PackWriter.preparePack
(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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.void
PackWriter.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 HttpCookie
private static HttpCookie
(package private) static void
NetscapeCookieFile.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 void
NetscapeCookieFile.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 void
NetscapeCookieFile.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 void
NetscapeCookieFile.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 void
NetscapeCookieFile.writeCookie
(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static void
NetscapeCookieFile.writeCookie
(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static void
NetscapeCookieFile.writeCookie
(Writer writer, HttpCookie cookie, URL url, Instant createdAt) private static void
NetscapeCookieFile.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 FirstCommand
Parse 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 String
OpenSshConfigFile.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.HostEntry
OpenSshConfigFile.lookupDefault
(String hostName, int port, String userName) private String
OpenSshConfigFile.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 newOpenSshConfigFile
that will read the config from fileconfig
use the given filehome
as "home" directory.OpenSshConfigFile
(File home, File config, String localUserName) Creates a newOpenSshConfigFile
that will read the config from fileconfig
use the given filehome
as "home" directory.OpenSshConfigFile
(File home, File config, String localUserName) Creates a newOpenSshConfigFile
that will read the config from fileconfig
use the given filehome
as "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.Configuration
OpenSshServerKeyDatabase.AskUser.config
private final ServerKeyDatabase
JGitServerKeyVerifier.database
Methods in org.eclipse.jgit.internal.transport.sshd with annotations of type NonNullModifier and TypeMethodDescriptionstatic String
GssApiMechanisms.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 TypeMethodDescriptionboolean
OpenSshServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) boolean
OpenSshServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) boolean
OpenSshServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) boolean
OpenSshServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) static GSSContext
GssApiMechanisms.createContext
(Oid mechanism, String fqdn) Creates aGSSContext
for the given mechanism to authenticate with the host given byfqdn
.static GSSContext
GssApiMechanisms.createContext
(Oid mechanism, String fqdn) Creates aGSSContext
for the given mechanism to authenticate with the host given byfqdn
.static void
Mark 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 String
GssApiMechanisms.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 InetAddress
GssApiMechanisms.resolve
(InetSocketAddress remote) Resolves anInetSocketAddress
.private org.apache.sshd.common.util.net.SshdSocketAddress
OpenSshServerKeyDatabase.toSshdSocketAddress
(String address) static void
Report 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 newJGitServerKeyVerifier
using 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 GSSContext
Socks5ClientConnector.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 HttpConnection
LfsConnectionFactory.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 AttributesNodeProvider
Repository.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.CleanupMode
as given by git configcommit.cleanup
.abstract StoredConfig
Repository.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 ornull
if repository isn't local.BaseRepositoryBuilder.getInitialBranch()
Get the initial branch of the new repository.protected String
Repository.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 ObjectDatabase
Repository.getObjectDatabase()
Get the object database which stores this repository's data.ObjectIdRef.PeeledTag.getPeeledObjectId()
abstract RefDatabase
Repository.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 RefRename
Create a new update command to rename a reference.abstract RefUpdate
Create 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 Ref
Peel 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 ObjectId
ObjectIdSerializer.readWithoutMarker
(InputStream in) Read a non-nullObjectId
from the stream.Create a command to rename a ref in this repositoryCommitConfig.resolve
(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupMode
from the given mode and the git config.static String
Repository.shortenRefName
(String refName) Get a shortened more user friendly ref namestatic String
Repository.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 TypeMethodDescriptionboolean
GpgObjectSigner.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 boolean
GpgSigner.canLocateSigningKey
(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Indicates if a signing key is available for the specified committer and/or signing key.static String
CommitConfig.cleanText
(String text, CommitConfig.CleanupMode mode, char commentChar) Processes a text according to the givenCommitConfig.CleanupMode
.static String
CommitConfig.cleanText
(String text, CommitConfig.CleanupMode mode, char commentChar) Processes a text according to the givenCommitConfig.CleanupMode
.static void
RepositoryCache.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 Path
TypedConfigGetter.getPath
(Config config, String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value from a gitConfig
and treat it as a file path, replacing a ~/ prefix by the user's home directory.(package private) static boolean
RepositoryCache.isCached
(Repository repo) private void
ObjectChecker.report
(ObjectChecker.ErrorType err, AnyObjectId id, String why) CommitConfig.resolve
(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupMode
from the given mode and the git config.void
ObjectBuilder.setEncoding
(Charset encoding) Sets the encoding for the object message.abstract void
GpgSigner.sign
(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Signs the specified commit.abstract void
GpgSigner.sign
(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) Signs the specified commit.void
GpgObjectSigner.signObject
(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) Signs the specified object.void
GpgObjectSigner.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 void
ObjectBuilder.writeEncoding
(Charset encoding, OutputStream out) Writes an "encoding" header.(package private) static void
ObjectBuilder.writeEncoding
(Charset encoding, OutputStream out) Writes an "encoding" header.(package private) static void
ObjectBuilder.writeMultiLineHeader
(String in, OutputStream out, boolean enforceAscii) Writes signature to output as per gpgsig header.(package private) static void
ObjectBuilder.writeMultiLineHeader
(String in, OutputStream out, boolean enforceAscii) Writes signature to output as per gpgsig header.static void
ObjectIdSerializer.writeWithoutMarker
(OutputStream out, AnyObjectId id) Write a non-nullObjectId
to the stream.Constructor parameters in org.eclipse.jgit.lib with annotations of type NonNullModifierConstructorDescriptionGpgSignature
(byte[] signature) Creates a new instance with the specified signatureprotected
ObjectIdRef
(Ref.Storage st, String name, ObjectId id, long updateIndex) Create a new ref pairing.protected
ObjectIdRef
(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 ContentMergeStrategy
ResolveMerger.contentStrategy
TheContentMergeStrategy
to use for "resolve" and "recursive" merges.private ContentMergeStrategy
MergeAlgorithm.strategy
Methods 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.packfileUriProtocols
FetchV2Request.serverOptions
LsRefsV2Request.serverOptions
Methods 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) FilterSpec
FetchRequest.getFilterSpec()
TransportHttp.getHttpConnectionFactory()
Retrieves theHttpConnectionFactory
used by thisTransportHttp
instance.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 argumentHostName
hostName
Port
port > 0 ? port : 22
User
userName
ConnectionAttempts
1
Returns the specified references.Method parameters in org.eclipse.jgit.transport with annotations of type NonNullModifier and TypeMethodDescription(package private) FetchV2Request.Builder
FetchV2Request.Builder.addPackfileUriProtocol
(String value) (package private) FetchV2Request.Builder
FetchV2Request.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 ReceiveCommand
Create a command to switch a symbolic reference's target.static ReceiveCommand
Create a command to switch a symbolic reference's target.static ReceiveCommand
Create a command to switch a reference from object to symbolic.static ReceiveCommand
Create a command to switch a reference from object to symbolic.static ReceiveCommand
Create 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 argumentHostName
hostName
Port
port > 0 ? port : 22
User
userName
ConnectionAttempts
1
(package private) FetchV0Request.Builder
FetchV0Request.Builder.setFilterSpec
(FilterSpec filter) (package private) FetchV2Request.Builder
FetchV2Request.Builder.setFilterSpec
(FilterSpec filter) final void
Transport.setFilterSpec
(FilterSpec filter) void
TransportHttp.setHttpConnectionFactory
(HttpConnectionFactory customFactory) Sets theHttpConnectionFactory
to be used by thisTransportHttp
instance.(package private) void
BasePackConnection.setProtocolVersion
(TransferConfig.ProtocolVersion protocol) static ReceiveCommand
Create a command to switch a reference from symbolic to object.static ReceiveCommand
Create a command to switch a reference from symbolic to object.static ReceiveCommand
Create 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) private
LsRefsV2Request
(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.GitSession
instance that can be used with connections created by thisHttpConnectionFactory
instance.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) void
HttpClientConnection.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.FilePasswordProvider
SshdSessionFactory.createFilePasswordProvider
(Supplier<KeyPasswordProvider> providerFactory) Creates aFilePasswordProvider
for a new session.protected KeyPasswordProvider
SshdSessionFactory.createKeyPasswordProvider
(CredentialsProvider provider) Creates aKeyPasswordProvider
for a new session.protected ServerKeyDatabase
SshdSessionFactory.createServerKeyDatabase
(File homeDir, File sshDir) Creates aServerKeyDatabase
to 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 anFtpChannel
to perform SFTP operations in thisSshdSession
.private org.apache.sshd.client.config.hosts.HostConfigEntryResolver
SshdSessionFactory.getHostConfigEntryResolver
(File homeDir, File sshDir) Obtain aHostConfigEntryResolver
to read the ssh config file and to determine host entries for connections.ProxyData.getProxy()
Obtains the remoteInetSocketAddress
of the proxy to connect to.protected ServerKeyDatabase
SshdSessionFactory.getServerKeyDatabase
(File homeDir, File sshDir) Obtains aServerKeyDatabase
to 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 TypeMethodDescriptionboolean
ServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.boolean
ServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.boolean
ServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.boolean
ServerKeyDatabase.accept
(String connectAddress, InetSocketAddress remoteAddress, PublicKey serverKey, ServerKeyDatabase.Configuration config, CredentialsProvider provider) Determines whether to accept a received server host key.void
SshdSession.addCloseListener
(SessionCloseListener listener) Adds aSessionCloseListener
to this session.SshdSessionFactoryBuilder.ConfigStoreFactory.create
(File homeDir, File configFile, String localUserName) Creates aSshConfigStore
.protected ServerKeyDatabase
SshdSessionFactory.createServerKeyDatabase
(File homeDir, File sshDir) Creates aServerKeyDatabase
to verify server host keys.protected ServerKeyDatabase
SshdSessionFactory.createServerKeyDatabase
(File homeDir, File sshDir) Creates aServerKeyDatabase
to verify server host keys.protected SshConfigStore
SshdSessionFactory.createSshConfigStore
(File homeDir, File configFile, String localUserName) Obtains aSshConfigStore
, ornull
if 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.HostConfigEntryResolver
SshdSessionFactory.getHostConfigEntryResolver
(File homeDir, File sshDir) Obtain aHostConfigEntryResolver
to read the ssh config file and to determine host entries for connections.private org.apache.sshd.client.config.hosts.HostConfigEntryResolver
SshdSessionFactory.getHostConfigEntryResolver
(File homeDir, File sshDir) Obtain aHostConfigEntryResolver
to 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 ServerKeyDatabase
SshdSessionFactory.getServerKeyDatabase
(File homeDir, File sshDir) Obtains aServerKeyDatabase
to verify server host keys.protected ServerKeyDatabase
SshdSessionFactory.getServerKeyDatabase
(File homeDir, File sshDir) Obtains aServerKeyDatabase
to verify server host keys.protected File
SshdSessionFactory.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.void
SshdSession.removeCloseListener
(SessionCloseListener listener) Removes the givenlistener
; has no effect if the listener is not currently registered with this session.void
SshdSessionFactory.setHomeDirectory
(File homeDir) Set a global directory to use as the user's home directoryvoid
SshdSessionFactory.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 thisConnectorFactory
supports. -
Uses of NonNull in org.eclipse.jgit.util
Fields in org.eclipse.jgit.util with annotations of type NonNullModifier and TypeFieldDescriptionprivate final Duration
FS.FileStoreAttributes.fsTimestampResolution
Methods in org.eclipse.jgit.util with annotations of type NonNullMethod parameters in org.eclipse.jgit.util with annotations of type NonNullModifier and TypeMethodDescriptionstatic FS.FileStoreAttributes
FS.getFileStoreAttributes
(Path dir) Get cached FileStore attributes, if not yet available measure them using a probe file under the given directory.private File
FS.getRunDirectory
(Repository repository, String hookName) static int
StringUtils.parseIntWithSuffix
(String value, boolean positiveOnly) Parses a number with optional case-insensitive suffix 'k', 'm', or 'g' indicating KiB, MiB, and GiB, respectively.static long
StringUtils.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.