Uses of Annotation Interface
org.eclipse.jgit.annotations.Nullable
Packages that use Nullable
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by API commands.
Support for reading .gitattributes.
Computing blame/annotate information of files.
Exceptions thrown by lower-level JGit APIs.
Ignore rule parser/matcher (for .gitignore entries).
Git fsck support.
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.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of Nullable in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with annotations of type NullableModifier and TypeMethodDescription(package private) File
CloneCommand.getDirectory()
Get the git directory.Method parameters in org.eclipse.jgit.api with annotations of type NullableModifier and TypeMethodDescriptionMergeCommand.setFastForward
(MergeCommand.FastForwardMode fastForwardMode) Sets the fast forward mode.PullCommand.setFastForward
(MergeCommand.FastForwardMode fastForwardMode) Set the fast forward mode.FetchCommand.setRecurseSubmodules
(SubmoduleConfig.FetchRecurseSubmodulesMode recurse) Set the mode to be used for recursing into submodules.PullCommand.setRecurseSubmodules
(SubmoduleConfig.FetchRecurseSubmodulesMode recurse) Set the mode to be used for recursing into submodules. -
Uses of Nullable in org.eclipse.jgit.api.errors
Methods in org.eclipse.jgit.api.errors with annotations of type NullableModifier and TypeMethodDescriptionRefAlreadyExistsException.getUpdateResult()
Retrieves theRefUpdate.Result
that caused the exception.Constructor parameters in org.eclipse.jgit.api.errors with annotations of type NullableModifierConstructorDescriptionRefAlreadyExistsException
(String message, RefUpdate.Result updateResult) Constructor for RefAlreadyExistsException -
Uses of Nullable in org.eclipse.jgit.attributes
Method parameters in org.eclipse.jgit.attributes with annotations of type NullableModifier and TypeMethodDescriptionprivate static AttributesNode
AttributesHandler.attributesNode
(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree) Get theAttributesNode
for the current entry.private static AttributesNode
AttributesHandler.attributesNode
(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree) Get theAttributesNode
for the current entry.private static AttributesNode
AttributesHandler.attributesNode
(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree) Get theAttributesNode
for the current entry.protected void
AttributesHandler.mergeAttributes
(AttributesNode node, String entryPath, boolean isDirectory, Attributes result) Merges the matching node attributes for an entry path.private void
AttributesHandler.mergePerDirectoryEntryAttributes
(String entryPath, int nameRoot, boolean isDirectory, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree, Attributes result) Merges the matching working directory attributes for an entry path.private void
AttributesHandler.mergePerDirectoryEntryAttributes
(String entryPath, int nameRoot, boolean isDirectory, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree, Attributes result) Merges the matching working directory attributes for an entry path.private void
AttributesHandler.mergePerDirectoryEntryAttributes
(String entryPath, int nameRoot, boolean isDirectory, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree, Attributes result) Merges the matching working directory attributes for an entry path.private static <T extends AbstractTreeIterator>
TAttributesHandler.parentOf
(T node) private static <T extends AbstractTreeIterator>
TAttributesHandler.rootOf
(T node) -
Uses of Nullable in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame with annotations of type NullableModifier and TypeMethodDescriptionBlameGenerator.getRenameDetector()
Obtain the RenameDetector, allowing the application to configure its settings for rename score and breaking behavior. -
Uses of Nullable in org.eclipse.jgit.errors
Methods in org.eclipse.jgit.errors with annotations of type NullableModifier and TypeMethodDescriptionCorruptObjectException.getErrorType()
Specific error condition identified byObjectChecker
.CorruptPackIndexException.getErrorType()
Specific the reason of the corrupt index file. -
Uses of Nullable in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo with annotations of type Nullable -
Uses of Nullable in org.eclipse.jgit.gpg.bc.internal
Methods in org.eclipse.jgit.gpg.bc.internal with annotations of type NullableModifier and TypeMethodDescriptionBouncyCastleGpgSignatureVerifier.verifySignature
(RevObject object, GpgConfig config) Method parameters in org.eclipse.jgit.gpg.bc.internal with annotations of type NullableModifier and TypeMethodDescriptionboolean
BouncyCastleGpgSigner.canLocateSigningKey
(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) boolean
BouncyCastleGpgSigner.canLocateSigningKey
(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) private BouncyCastleGpgKey
BouncyCastleGpgSigner.locateSigningKey
(String gpgSigningKey, PersonIdent committer, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt) void
BouncyCastleGpgSigner.sign
(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider) void
BouncyCastleGpgSigner.signObject
(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) -
Uses of Nullable in org.eclipse.jgit.http.server
Fields in org.eclipse.jgit.http.server with annotations of type NullableModifier and TypeFieldDescriptionprivate final ReceivePackErrorHandler
ReceivePackServlet.handler
Constructor parameters in org.eclipse.jgit.http.server with annotations of type NullableModifierConstructorDescription(package private)
(package private)
UploadPackServlet
(UploadPackErrorHandler handler) -
Uses of Nullable in org.eclipse.jgit.ignore
Methods in org.eclipse.jgit.ignore with annotations of type NullableModifier and TypeMethodDescriptionIgnoreNode.checkIgnored
(String entryPath, boolean isDirectory) Determine if an entry path matches an ignore rule. -
Uses of Nullable in org.eclipse.jgit.internal.fsck
Fields in org.eclipse.jgit.internal.fsck with annotations of type NullableModifier and TypeFieldDescription(package private) final ObjectChecker.ErrorType
FsckError.CorruptObject.errorType
Methods in org.eclipse.jgit.internal.fsck with annotations of type NullableConstructor parameters in org.eclipse.jgit.internal.fsck with annotations of type NullableModifierConstructorDescriptionCorruptObject
(ObjectId id, int type, ObjectChecker.ErrorType errorType) -
Uses of Nullable in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with annotations of type NullableModifier and TypeMethodDescriptionInMemoryRepository.getGitwebDescription()
Read theGIT_DIR/description
file for gitweb.private TemporaryBuffer.Heap
DfsInserter.maybeGetTemporaryBuffer
(List<PackedObjectInfo> list) Method parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NullableModifier and TypeMethodDescriptionprotected boolean
DfsReftableDatabase.compareAndPut
(Ref oldRef, Ref newRef) Compare a reference, and put if it matches.static DfsStreamKey
DfsStreamKey.of
(DfsRepositoryDescription repo, String name, PackExt ext) Create aDfsStreamKey
void
InMemoryRepository.setGitwebDescription
(String d) Set theGIT_DIR/description
file for gitweb.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type NullableModifierConstructorDescription(package private)
ByteArrayDfsStreamKey
(DfsRepositoryDescription repo, byte[] name, PackExt ext) protected
DfsStreamKey
(int hash, PackExt ext) Constructor for DfsStreamKey. -
Uses of Nullable in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file with annotations of type NullableModifier and TypeFieldDescriptionprivate PackFile
Pack.bitmapIdxFile
private final ObjectInserter
WindowCursor.createdFromInserter
Methods in org.eclipse.jgit.internal.storage.file with annotations of type NullableModifier and TypeMethodDescriptionRefDirectory.firstExactRef
(String... refs) Find the first named reference.WindowCursor.getCreatedFromInserter()
Get theObjectInserter
from which this reader was created usinginserter.newReader()
FileRepository.getGitwebDescription()
Read theGIT_DIR/description
file for gitweb.(package private) Pack
PackDirectory.getPack
(AnyObjectId objectId) Get thePack
for the specified object if it is stored in this PackDirectory.PackedBatchRefUpdate.lockLooseRefs
(List<ReceiveCommand> commands) Lock loose refs corresponding to a list of commands.(package private) LockFile
RefDirectory.lockPackedRefs()
private Ref
RefDirectory.readAndResolve
(String name, RefList<Ref> packed) Method parameters in org.eclipse.jgit.internal.storage.file with annotations of type NullableModifier and TypeMethodDescriptionvoid
FileRepository.setGitwebDescription
(String description) Set theGIT_DIR/description
file for gitweb.private static void
Constructor parameters in org.eclipse.jgit.internal.storage.file with annotations of type NullableModifierConstructorDescriptionFileReftableStack
(File stackPath, File reftableDir, Runnable onChange, Supplier<Config> configSupplier) Creates a stack corresponding to the list of reftables in the argument(package private)
IdxPositionBitmap
(int nthObjectId, PackBitmapIndexV1.IdxPositionBitmap xorIdxPositionBitmap, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, int flags) Construct a reader for an existing, pre-indexed packfile.(package private)
WindowCursor
(FileObjectDatabase db, ObjectDirectoryInserter createdFromInserter) -
Uses of Nullable in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack with annotations of type NullableModifier and TypeMethodDescriptionCachedPackUriProvider.getInfo
(CachedPack pack, Collection<String> protocolsSupported) Constructor parameters in org.eclipse.jgit.internal.storage.pack with annotations of type NullableModifierConstructorDescriptionPackWriter
(PackConfig config, ObjectReader reader, PackStatistics.Accumulator statsAccumulator) Create writer with a specified configuration. -
Uses of Nullable in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable with annotations of type NullableModifier and TypeMethodDescriptionLookup a reference, or null if not found.Read a single reference.abstract ReflogEntry
LogCursor.getReflogEntry()
Get current log entry.(package private) LongList
BlockReader.readBlockPositionList()
(package private) ReflogEntry
BlockReader.readLogEntry()
Resolve a symbolic reference to populate its value.Method parameters in org.eclipse.jgit.internal.storage.reftable with annotations of type NullableModifier and TypeMethodDescriptionprivate static long
ReftableWriter.firstBlockPosition
(ReftableWriter.Section s) private static long
ReftableWriter.indexPosition
(ReftableWriter.Section s) private static boolean
ReftableBatchRefUpdate.matchOld
(ReceiveCommand cmd, Ref ref) void
ReftableWriter.writeLog
(String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, String message) Write one reflog entry to the reftable. -
Uses of Nullable in org.eclipse.jgit.internal.transport.http
Method parameters in org.eclipse.jgit.internal.transport.http with annotations of type NullableModifier and TypeMethodDescription(package private) static Set<HttpCookie>
NetscapeCookieFile.mergeCookies
(Set<HttpCookie> cookies1, Set<HttpCookie> cookies2) Merge the given sets in the following way. -
Uses of Nullable in org.eclipse.jgit.internal.transport.parser
Fields in org.eclipse.jgit.internal.transport.parser with annotations of type NullableMethods in org.eclipse.jgit.internal.transport.parser with annotations of type NullableConstructor parameters in org.eclipse.jgit.internal.transport.parser with annotations of type Nullable -
Uses of Nullable in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs with annotations of type NullableModifier and TypeMethodDescriptionBuiltinLFS.getPrePushHook
(Repository repo, PrintStream outputStream) BuiltinLFS.getPrePushHook
(Repository repo, PrintStream outputStream, PrintStream errorStream) private static LfsPointer
LfsPointer.parse
(InputStream in) static LfsPointer
LfsPointer.parseLfsPointer
(InputStream in) Try to parse the data provided by an InputStream to the format defined byLfsPointer.VERSION
. -
Uses of Nullable in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with annotations of type NullableModifier and TypeMethodDescriptionAtomicObjectOutputStream.getId()
Get theid
.private Config
LfsConfig.loadFromHead()
Try to read the lfs config from an entry called .lfsconfig contained in the head revision.private Config
LfsConfig.loadFromIndex()
Try to read the lfs config from an entry called .lfsconfig contained in the index.private Config
LfsConfig.loadFromWorkingTree()
Try to read the lfs config from a file called .lfsconfig at the top level of the working tree. -
Uses of Nullable in org.eclipse.jgit.lfs.server
Methods in org.eclipse.jgit.lfs.server with annotations of type NullableModifier and TypeMethodDescriptionLargeFileRepository.getVerifyAction
(AnyLongObjectId id) Get verify action -
Uses of Nullable in org.eclipse.jgit.lfs.server.fs
Methods in org.eclipse.jgit.lfs.server.fs with annotations of type NullableModifier and TypeMethodDescriptionFileLfsRepository.getVerifyAction
(AnyLongObjectId id) Get verify action -
Uses of Nullable in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib with annotations of type NullableModifier and TypeMethodDescriptionabstract Ref
Read a single reference.final Ref
Get a ref by name.final Ref
Read a single reference.static Ref
Try to find the specified name in the ref map usingRefDatabase.SEARCH_PATH
.final Ref
Search for a ref by (possibly abbreviated) name.RefDatabase.firstExactRef
(String... refs) Find the first named reference.Repository.getBranch()
Get the short name of the current branch thatHEAD
points to.CommitConfig.getCommitEncoding()
Get the encoding of the commit as defined in the giti18n.commitEncoding
property.CommitConfig.getCommitTemplateContent
(Repository repository) Get the content to the commit template as defined incommit.template
.CommitConfig.getCommitTemplatePath()
Get the path to the commit template as defined in the gitcommit.template
property.ObjectReader.Filter.getCreatedFromInserter()
ObjectReader.getCreatedFromInserter()
Get theObjectInserter
from which this reader was created usinginserter.newReader()
Repository.getFullBranch()
Get the name of the reference thatHEAD
points to.Repository.getGitwebDescription()
Read theGIT_DIR/description
file for gitweb.ObjectBuilder.getGpgSignature()
Retrieves the GPG signature of this object.ObjectBuilder.getMessage()
Retrieves the complete message of the object.ObjectIdRef.getObjectId()
Cached value of this ref.Ref.getObjectId()
Cached value of this ref.SymbolicRef.getObjectId()
Cached value of this ref.ObjectIdRef.PeeledNonTag.getPeeledObjectId()
ObjectIdRef.Unpeeled.getPeeledObjectId()
Ref.getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).SymbolicRef.getPeeledObjectId()
Cached value ofref^{}
(the ref peeled to commit).BatchRefUpdate.getPushOptions()
Gets the list of option strings associated with this update.final Ref
Deprecated.BatchRefUpdate.getRefLogMessage()
Get the message to include in the reflog.abstract ReflogReader
Repository.getReflogReader
(String refName) Get the reflog readerRepository.getRemoteName
(String refName) Get remote nameprivate ObjectId
ObjectChecker.idFor
(int objType, byte[] raw) ObjectChecker.newBlobObjectChecker()
Create a newBlobObjectChecker
.private RevObject
Repository.parseSimple
(RevWalk rw, String revstr) static ObjectId
ObjectIdSerializer.read
(InputStream in) Read a possibly nullObjectId
from the stream.Repository.readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.Repository.readCommitEditMsg()
Return the information stored in the file $GIT_DIR/COMMIT_EDITMSG.private String
Repository.readCommitMsgFile
(String msgFilename) Repository.readMergeCommitMsg()
Return the information stored in the file $GIT_DIR/MERGE_MSG.Repository.readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.Repository.readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.Repository.readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.Repository.readSquashCommitMsg()
Return the information stored in the file $GIT_DIR/SQUASH_MSG.Parse a git revision string and return an object id.private Object
private ObjectId
Repository.resolveAbbreviation
(String revstr) private String
Repository.resolveReflogCheckout
(int checkoutNo) private ObjectId
Repository.resolveSimple
(String revstr) Repository.shortenRemoteBranchName
(String refName) Get a shortened more user friendly remote tracking branch nameSimplify an expression, but unlikeRepository.resolve(String)
it will not resolve a branch passed or resulting from the expression, such as @{-}.GpgSignatureVerifier.verifySignature
(RevObject object, GpgConfig config) Verifies the signature on a signed commit or tag.Method parameters in org.eclipse.jgit.lib with annotations of type NullableModifier 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.void
ObjectChecker.check
(AnyObjectId id, int objType, byte[] raw) Check an object for parsing errors.void
ObjectChecker.checkCommit
(AnyObjectId id, byte[] raw) Check a commit for errors.private void
ObjectChecker.checkNotWindowsDevice
(byte[] raw, int ptr, int end, AnyObjectId id) private void
ObjectChecker.checkPathSegment2
(byte[] raw, int ptr, int end, AnyObjectId id) private void
ObjectChecker.checkPersonIdent
(byte[] raw, AnyObjectId id) void
ObjectChecker.checkTag
(AnyObjectId id, byte[] raw) Check an annotated tag for errors.void
ObjectChecker.checkTree
(AnyObjectId id, byte[] raw) Check a canonical formatted tree for errors.private boolean
ObjectChecker.checkTruncatedIgnorableUTF8
(byte[] raw, int ptr, int end, AnyObjectId id) private boolean
ObjectChecker.isGitmodules
(byte[] buf, int start, int end, AnyObjectId id) Check if the filename contained in buf[start:end] could be read as a .gitmodules file when checked out to the working directory.static final boolean
Test a string of characters to verify it is a hex format.private boolean
ObjectChecker.isMacHFSGit
(byte[] raw, int ptr, int end, AnyObjectId id) private boolean
ObjectChecker.isMacHFSGitmodules
(byte[] raw, int ptr, int end, AnyObjectId id) private boolean
ObjectChecker.isMacHFSPath
(byte[] raw, int ptr, int end, byte[] path, AnyObjectId id) private void
ObjectChecker.report
(ObjectChecker.ErrorType err, AnyObjectId id, String why) private int
ObjectChecker.scanPathSegment
(byte[] raw, int ptr, int end, AnyObjectId id) void
Repository.setGitwebDescription
(String description) Set theGIT_DIR/description
file for gitweb.void
ObjectBuilder.setGpgSignature
(GpgSignature gpgSignature) Sets the GPG signature of this object.ObjectChecker.setIgnore
(Set<ObjectChecker.ErrorType> ids) Configure error types to be ignored across all objects.void
ObjectBuilder.setMessage
(String message) Sets the message (commit message, or message of an annotated tag).ObjectChecker.setSkipList
(ObjectIdSet objects) Enable accepting specific malformed (but not horribly broken) objects.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.static void
ObjectIdSerializer.write
(OutputStream out, AnyObjectId id) Write a possibly nullObjectId
to the stream, using markers to differentiate null and non-null instances.Constructor parameters in org.eclipse.jgit.lib with annotations of type NullableModifierConstructorDescriptionprotected
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, 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, long updateIndex) Create a new ref pairing with update index.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. -
Uses of Nullable in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge with annotations of type NullableModifier and TypeFieldDescriptionprotected final Repository
Merger.db
The repository this merger operates on.Methods in org.eclipse.jgit.merge with annotations of type NullableModifier and TypeMethodDescriptionMerger.getRepository()
Get the repository this merger operates on. -
Uses of Nullable in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with annotations of type NullableModifier and TypeMethodDescriptionfinal String
RevCommit.getEncodingName()
Determine the encoding of the commit message buffer.final byte[]
RevTag.getRawGpgSignature()
Parse the GPG signature from the raw buffer.private RevCommit
RevWalk.nextForIterator()
LikeRevWalk.next()
, but if a checked exception is thrown during the walk it is rethrown as aRevWalkException
. -
Uses of Nullable in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport with annotations of type NullableModifier and TypeFieldDescription(package private) final String
FetchRequest.agent
(package private) String
FetchV2Request.Builder.agent
private final String
LsRefsV2Request.agent
(package private) TransferConfig.ProtocolVersion
Transport.protocol
(package private) final TransferConfig.ProtocolVersion
TransferConfig.protocolVersion
Methods in org.eclipse.jgit.transport with annotations of type NullableModifier and TypeMethodDescriptionFilterSpec.filterLine()
private Ref
Find a ref in the usual search path on behalf of the client.(package private) String
FetchRequest.getAgent()
LsRefsV2Request.getAgent()
ReceiveCommand.getNewSymref()
Get requested new target for a symbolic reference.ReceiveCommand.getOldSymref()
Get expected old target for a symbolic reference.ReceivePack.getPushOptions()
Gets an unmodifiable view of the option strings associated with the push.ReceivePack.getReceivedPackStatistics()
Returns the statistics on the received pack if available.ReceiveCommand.getRefLogMessage()
Get the message to include in the reflog.ReceiveCommand.isForceRefLog()
Check whether the reflog should be written regardless of repo defaults.TransferConfig.newObjectChecker()
Create checker to verify fetched objectsTransferConfig.newReceiveObjectChecker()
Create checker to verify objects pushed into this repositoryprivate static RevCommit
UploadPack.objectIdToRevCommit
(RevWalk walk, ObjectId objectId) Translate an object id to a RevCommit.private static RevObject
UploadPack.objectIdToRevObject
(RevWalk walk, ObjectId objectId) Translate an object id to a RevObject.(package private) static ObjectChecker.ErrorType
(package private) static TransferConfig.ProtocolVersion
Method parameters in org.eclipse.jgit.transport with annotations of type NullableModifier and TypeMethodDescription(package private) void
DaemonService.execute
(DaemonClient client, String commandLine, Collection<String> extraParameters) (package private) abstract void
DaemonService.execute
(DaemonClient client, Repository db, Collection<String> extraParameters) static ReceiveCommand
Create a command to switch a symbolic reference's target.(package private) static TransferConfig.ProtocolVersion
void
UploadPack.sendAdvertisedRefs
(RefAdvertiser adv, String serviceName) Generate an advertisement of available refs and capabilities.private void
UploadPack.sendPack
(ProgressMonitor pm, PacketLineOut pckOut, OutputStream packOut, FetchRequest req, PackStatistics.Accumulator accumulator, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots) Send the requested objects to the client.private void
UploadPack.sendPack
(PackStatistics.Accumulator accumulator, FetchRequest req, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots, PacketLineOut pckOut) Send the requested objects to the client.void
UploadPack.setAdvertisedRefs
(Map<String, Ref> allRefs) Set the refs advertised by this UploadPack.void
UploadPack.setAdvertiseRefsHook
(AdvertiseRefsHook advertiseRefsHook) Set the hook used while advertising the refs to the client.(package private) FetchV2Request.Builder
Value of an agent line received after the command and before the arguments.Value of an agent line received after the command and before the arguments.void
UploadPack.setCachedPackUriProvider
(CachedPackUriProvider p) void
UploadPack.setPackConfig
(PackConfig pc) Set the configuration used by the pack generator.void
UploadPack.setPostUploadHook
(PostUploadHook hook) Set the hook for post upload actions (logging, repacking).void
UploadPack.setPreUploadHook
(PreUploadHook hook) Set the hook that controls how this instance will behave.void
UploadPack.setProtocolV2Hook
(ProtocolV2Hook hook) Set the protocol V2 hook.void
ReceivePack.setPushOptions
(List<String> options) Set the push options supplied by the client.void
UploadPack.setRefFilter
(RefFilter refFilter) Set the filter used while advertising the refs to the client.void
UploadPack.setRequestValidator
(UploadPack.RequestValidator validator) Set custom validator for client want list.void
UploadPack.setTransferConfig
(TransferConfig tc) Set configuration controlling transfer options.void
UploadPack.upload
(InputStream input, OutputStream output, OutputStream messages) Execute the upload task on the socket.void
UploadPack.uploadWithExceptionPropagation
(InputStream input, OutputStream output, OutputStream messages) Execute the upload task on the socket.Constructor parameters in org.eclipse.jgit.transport with annotations of type NullableModifierConstructorDescription(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)
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) private
ReceiveCommand
(String oldTarget, String newTarget, String name) Create a command to switch a symbolic reference's target. -
Uses of Nullable in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk with annotations of type NullableModifier and TypeMethodDescriptionTreeWalk.getCheckoutEolStreamType
(int tree) Get the EOL stream type of the current entry for checking out using the config andTreeWalk.getAttributes()
.TreeWalk.getEolStreamType
(TreeWalk.OperationType opType) Get the EOL stream type of the current entry using the config andTreeWalk.getAttributes()
.Method parameters in org.eclipse.jgit.treewalk with annotations of type NullableModifier and TypeMethodDescriptionstatic TreeWalk
TreeWalk.forPath
(Repository repo, ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.Constructor parameters in org.eclipse.jgit.treewalk with annotations of type NullableModifierConstructorDescriptionNameConflictTreeWalk
(Repository repo, ObjectReader or) Create a new tree walker for a given repository.TreeWalk
(Repository repo, ObjectReader or) Create a new tree walker for a given repository.private
TreeWalk
(Repository repo, ObjectReader or, boolean closeReader) -
Uses of Nullable in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with annotations of type NullableModifier and TypeMethodDescriptionLfsFactory.getInstallCommand()
Retrieve anLfsFactory.LfsInstallCommand
which can be used to enable LFS support (if available) either per repository or for the user.LfsFactory.getPrePushHook
(Repository repo, PrintStream outputStream) Retrieve a pre-push hook to be applied using the default error stream.LfsFactory.getPrePushHook
(Repository repo, PrintStream outputStream, PrintStream errorStream) Retrieve a pre-push hook to be applied.static String
RawParseUtils.parseEncodingName
(byte[] b) Parse the "encoding " header as a string.protected static String
Execute a command and return a single line of output as a Stringprotected static String
Execute a command and return a single line of output as a Stringstatic ObjectInstance
Monitoring.registerMBean
(Object mbean, String metricName) Register a MBean with the platform MBean serverMethod parameters in org.eclipse.jgit.util with annotations of type NullableModifier and TypeMethodDescriptionstatic String
SshSupport.runSshCommand
(URIish sshUri, CredentialsProvider provider, FS fs, String command, int timeout) Utility to execute a remote SSH command and read the first line of output.private static FS.LockToken
RefList.toRefList
(BinaryOperator<T> mergeFunction)
RefDatabase.findRef(String)
instead.