Uses of Class
org.eclipse.jgit.annotations.Nullable
-
-
Uses of Nullable in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api with annotations of type Nullable Modifier and Type Field Description private HunkHeaderApplyCommand.Result.Error. hhMethods in org.eclipse.jgit.api with annotations of type Nullable Modifier and Type Method Description (package private) java.io.FileCloneCommand. getDirectory()Get the git directory.Method parameters in org.eclipse.jgit.api with annotations of type Nullable Modifier and Type Method Description private voidApplyCommand.Result. addError(java.lang.String msg, java.lang.String oldFileName, HunkHeader hh)MergeCommandMergeCommand. setFastForward(MergeCommand.FastForwardMode fastForwardMode)Sets the fast forward mode.PullCommandPullCommand. setFastForward(MergeCommand.FastForwardMode fastForwardMode)Set the fast forward mode.FetchCommandFetchCommand. setRecurseSubmodules(SubmoduleConfig.FetchRecurseSubmodulesMode recurse)Set the mode to be used for recursing into submodules.PullCommandPullCommand. setRecurseSubmodules(SubmoduleConfig.FetchRecurseSubmodulesMode recurse)Set the mode to be used for recursing into submodules.Constructor parameters in org.eclipse.jgit.api with annotations of type Nullable Constructor Description Error(java.lang.String msg, java.lang.String oldFileName, HunkHeader hh) -
Uses of Nullable in org.eclipse.jgit.api.errors
Methods in org.eclipse.jgit.api.errors with annotations of type Nullable Modifier and Type Method Description RefUpdate.ResultRefAlreadyExistsException. getUpdateResult()Retrieves theRefUpdate.Resultthat caused the exception.Constructor parameters in org.eclipse.jgit.api.errors with annotations of type Nullable Constructor Description RefAlreadyExistsException(java.lang.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 Nullable Modifier and Type Method Description private static AttributesNodeAttributesHandler. attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree)Get theAttributesNodefor the current entry.private static AttributesNodeAttributesHandler. attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree)Get theAttributesNodefor the current entry.private static AttributesNodeAttributesHandler. attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree)Get theAttributesNodefor the current entry.protected voidAttributesHandler. mergeAttributes(AttributesNode node, java.lang.String entryPath, boolean isDirectory, Attributes result)Merges the matching node attributes for an entry path.private voidAttributesHandler. mergePerDirectoryEntryAttributes(java.lang.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 voidAttributesHandler. mergePerDirectoryEntryAttributes(java.lang.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 voidAttributesHandler. mergePerDirectoryEntryAttributes(java.lang.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 Nullable Modifier and Type Method Description RenameDetectorBlameGenerator. 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 Nullable Modifier and Type Method Description ObjectChecker.ErrorTypeCorruptObjectException. getErrorType()Specific error condition identified byObjectChecker.CorruptPackIndexException.ErrorTypeCorruptPackIndexException. 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 Modifier and Type Method Description ObjectIdRepoCommand.RemoteReader. sha1(java.lang.String uri, java.lang.String ref)Read a remote ref sha1. -
Uses of Nullable in org.eclipse.jgit.gpg.bc.internal
Methods in org.eclipse.jgit.gpg.bc.internal with annotations of type Nullable Modifier and Type Method Description GpgSignatureVerifier.SignatureVerificationBouncyCastleGpgSignatureVerifier. verifySignature(RevObject object, GpgConfig config)Method parameters in org.eclipse.jgit.gpg.bc.internal with annotations of type Nullable Modifier and Type Method Description booleanBouncyCastleGpgSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)booleanBouncyCastleGpgSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)private BouncyCastleGpgKeyBouncyCastleGpgSigner. locateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt)voidBouncyCastleGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)voidBouncyCastleGpgSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) -
Uses of Nullable in org.eclipse.jgit.http.server
Fields in org.eclipse.jgit.http.server with annotations of type Nullable Modifier and Type Field Description private ReceivePackErrorHandlerReceivePackServlet. handlerConstructor parameters in org.eclipse.jgit.http.server with annotations of type Nullable Constructor Description ReceivePackServlet(ReceivePackErrorHandler handler)UploadPackServlet(UploadPackErrorHandler handler) -
Uses of Nullable in org.eclipse.jgit.ignore
Methods in org.eclipse.jgit.ignore with annotations of type Nullable Modifier and Type Method Description java.lang.BooleanIgnoreNode. checkIgnored(java.lang.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 Nullable Modifier and Type Field Description (package private) ObjectChecker.ErrorTypeFsckError.CorruptObject. errorTypeMethods in org.eclipse.jgit.internal.fsck with annotations of type Nullable Modifier and Type Method Description ObjectChecker.ErrorTypeFsckError.CorruptObject. getErrorType()Constructor parameters in org.eclipse.jgit.internal.fsck with annotations of type Nullable Constructor Description CorruptObject(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 Nullable Modifier and Type Method Description java.lang.StringInMemoryRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.private TemporaryBuffer.HeapDfsInserter. maybeGetTemporaryBuffer(java.util.List<PackedObjectInfo> list)Method parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type Nullable Modifier and Type Method Description protected booleanDfsReftableDatabase. compareAndPut(Ref oldRef, Ref newRef)Compare a reference, and put if it matches.static DfsStreamKeyDfsStreamKey. of(DfsRepositoryDescription repo, java.lang.String name, PackExt ext)Create aDfsStreamKeyvoidInMemoryRepository. setGitwebDescription(java.lang.String d)Set theGIT_DIR/descriptionfile for gitweb.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type Nullable Constructor Description ByteArrayDfsStreamKey(DfsRepositoryDescription repo, byte[] name, PackExt ext)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 Nullable Modifier and Type Field Description private PackFilePack. bitmapIdxFileprivate ObjectInserterWindowCursor. createdFromInserterMethods in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Modifier and Type Method Description RefRefDirectory. firstExactRef(java.lang.String... refs)Find the first named reference.ObjectInserterWindowCursor. getCreatedFromInserter()Get theObjectInserterfrom which this reader was created usinginserter.newReader()java.lang.StringFileRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.(package private) PackPackDirectory. getPack(AnyObjectId objectId)Get thePackfor the specified object if it is stored in this PackDirectory.private java.util.Map<java.lang.String,LockFile>PackedBatchRefUpdate. lockLooseRefs(java.util.List<ReceiveCommand> commands)Lock loose refs corresponding to a list of commands.(package private) LockFileRefDirectory. lockPackedRefs()private RefRefDirectory. readAndResolve(java.lang.String name, RefList<Ref> packed)Method parameters in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Modifier and Type Method Description voidFileRepository. setGitwebDescription(java.lang.String description)Set theGIT_DIR/descriptionfile for gitweb.private static voidPackedBatchRefUpdate. unlockAll(java.util.Map<?,LockFile> locks)Constructor parameters in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Constructor Description FileReftableStack(java.io.File stackPath, java.io.File reftableDir, java.lang.Runnable onChange, java.util.function.Supplier<Config> configSupplier)Creates a stack corresponding to the list of reftables in the argumentPack(java.io.File packFile, PackFile bitmapIdxFile)Construct a reader for an existing, pre-indexed packfile.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 Nullable Modifier and Type Method Description CachedPackUriProvider.PackInfoCachedPackUriProvider. getInfo(CachedPack pack, java.util.Collection<java.lang.String> protocolsSupported)Constructor parameters in org.eclipse.jgit.internal.storage.pack with annotations of type Nullable Constructor Description PackWriter(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 Nullable Modifier and Type Method Description RefReftable. exactRef(java.lang.String refName)Lookup a reference, or null if not found.RefReftableDatabase. exactRef(java.lang.String name)Read a single reference.abstract ReflogEntryLogCursor. getReflogEntry()Get current log entry.(package private) LongListBlockReader. readBlockPositionList()(package private) ReflogEntryBlockReader. readLogEntry()RefReftable. resolve(Ref symref)Resolve a symbolic reference to populate its value.Method parameters in org.eclipse.jgit.internal.storage.reftable with annotations of type Nullable Modifier and Type Method Description private static longReftableWriter. firstBlockPosition(ReftableWriter.Section s)private static longReftableWriter. indexPosition(ReftableWriter.Section s)private static booleanReftableBatchRefUpdate. matchOld(ReceiveCommand cmd, Ref ref)voidReftableWriter. writeLog(java.lang.String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.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 Nullable Modifier and Type Method Description (package private) static java.util.Set<java.net.HttpCookie>NetscapeCookieFile. mergeCookies(java.util.Set<java.net.HttpCookie> cookies1, java.util.Set<java.net.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 Nullable Modifier and Type Field Description private java.lang.StringFirstWant. agentMethods in org.eclipse.jgit.internal.transport.parser with annotations of type Nullable Modifier and Type Method Description java.lang.StringFirstWant. getAgent()Constructor parameters in org.eclipse.jgit.internal.transport.parser with annotations of type Nullable Constructor Description FirstWant(java.lang.String line, java.util.Set<java.lang.String> capabilities, java.lang.String agent) -
Uses of Nullable in org.eclipse.jgit.junit.ssh
Methods in org.eclipse.jgit.junit.ssh with annotations of type Nullable Modifier and Type Method Description protected java.lang.BooleanSshTestGitServer.FakeUserAuthGSS. doAuth(org.apache.sshd.common.util.buffer.Buffer buffer, boolean initial) -
Uses of Nullable in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs with annotations of type Nullable Modifier and Type Method Description PrePushHookBuiltinLFS. getPrePushHook(Repository repo, java.io.PrintStream outputStream)PrePushHookBuiltinLFS. getPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)private static LfsPointerLfsPointer. parse(java.io.InputStream in)static LfsPointerLfsPointer. parseLfsPointer(java.io.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 Nullable Modifier and Type Method Description AnyLongObjectIdAtomicObjectOutputStream. getId()Get theid. -
Uses of Nullable in org.eclipse.jgit.lfs.server
Methods in org.eclipse.jgit.lfs.server with annotations of type Nullable Modifier and Type Method Description Response.ActionLargeFileRepository. 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 Nullable Modifier and Type Method Description Response.ActionFileLfsRepository. getVerifyAction(AnyLongObjectId id)Get verify action -
Uses of Nullable in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib with annotations of type Nullable Modifier and Type Method Description abstract RefRefDatabase. exactRef(java.lang.String name)Read a single reference.RefRepository. exactRef(java.lang.String name)Get a ref by name.RefRefDatabase. findRef(java.lang.String name)Read a single reference.static RefRefDatabase. findRef(java.util.Map<java.lang.String,Ref> map, java.lang.String name)Try to find the specified name in the ref map usingRefDatabase.SEARCH_PATH.RefRepository. findRef(java.lang.String name)Search for a ref by (possibly abbreviated) name.RefRefDatabase. firstExactRef(java.lang.String... refs)Find the first named reference.java.lang.StringRepository. getBranch()Get the short name of the current branch thatHEADpoints to.ObjectInserterObjectReader.Filter. getCreatedFromInserter()ObjectInserterObjectReader. getCreatedFromInserter()Get theObjectInserterfrom which this reader was created usinginserter.newReader()java.lang.StringRepository. getFullBranch()Get the name of the reference thatHEADpoints to.java.lang.StringRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.GpgSignatureObjectBuilder. getGpgSignature()Retrieves the GPG signature of this object.java.lang.StringObjectBuilder. getMessage()Retrieves the complete message of the object.ObjectIdObjectIdRef. getObjectId()Cached value of this ref.ObjectIdRef. getObjectId()Cached value of this ref.ObjectIdSymbolicRef. getObjectId()Cached value of this ref.ObjectIdObjectIdRef.PeeledNonTag. getPeeledObjectId()ObjectIdObjectIdRef.Unpeeled. getPeeledObjectId()ObjectIdRef. getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).ObjectIdSymbolicRef. getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).java.util.List<java.lang.String>BatchRefUpdate. getPushOptions()Gets the list of option strings associated with this update.RefRefDatabase. getRef(java.lang.String name)Deprecated.UseRefDatabase.findRef(String)instead.java.lang.StringBatchRefUpdate. getRefLogMessage()Get the message to include in the reflog.abstract ReflogReaderRepository. getReflogReader(java.lang.String refName)Get the reflog readerjava.lang.StringRepository. getRemoteName(java.lang.String refName)Get remote nameprivate ObjectIdObjectChecker. idFor(int objType, byte[] raw)BlobObjectCheckerObjectChecker. newBlobObjectChecker()Create a newBlobObjectChecker.private RevObjectRepository. parseSimple(RevWalk rw, java.lang.String revstr)static ObjectIdObjectIdSerializer. read(java.io.InputStream in)Read a possibly nullObjectIdfrom the stream.ObjectIdRepository. readCherryPickHead()Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.java.lang.StringRepository. readCommitEditMsg()Return the information stored in the file $GIT_DIR/COMMIT_EDITMSG.private java.lang.StringRepository. readCommitMsgFile(java.lang.String msgFilename)java.lang.StringRepository. readMergeCommitMsg()Return the information stored in the file $GIT_DIR/MERGE_MSG.java.util.List<ObjectId>Repository. readMergeHeads()Return the information stored in the file $GIT_DIR/MERGE_HEAD.ObjectIdRepository. readOrigHead()Return the information stored in the file $GIT_DIR/ORIG_HEAD.ObjectIdRepository. readRevertHead()Return the information stored in the file $GIT_DIR/REVERT_HEAD.java.lang.StringRepository. readSquashCommitMsg()Return the information stored in the file $GIT_DIR/SQUASH_MSG.ObjectIdRepository. resolve(java.lang.String revstr)Parse a git revision string and return an object id.private java.lang.ObjectRepository. resolve(RevWalk rw, java.lang.String revstr)private ObjectIdRepository. resolveAbbreviation(java.lang.String revstr)private java.lang.StringRepository. resolveReflogCheckout(int checkoutNo)private ObjectIdRepository. resolveSimple(java.lang.String revstr)java.lang.StringRepository. shortenRemoteBranchName(java.lang.String refName)Get a shortened more user friendly remote tracking branch namejava.lang.StringRepository. simplify(java.lang.String revstr)Simplify an expression, but unlikeRepository.resolve(String)it will not resolve a branch passed or resulting from the expression, such as @{-}.GpgSignatureVerifier.SignatureVerificationGpgSignatureVerifier. 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 Nullable Modifier and Type Method Description booleanGpgObjectSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Indicates if a signing key is available for the specified committer and/or signing key.abstract booleanGpgSigner. canLocateSigningKey(java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Indicates if a signing key is available for the specified committer and/or signing key.voidObjectChecker. check(AnyObjectId id, int objType, byte[] raw)Check an object for parsing errors.voidObjectChecker. checkCommit(AnyObjectId id, byte[] raw)Check a commit for errors.private voidObjectChecker. checkNotWindowsDevice(byte[] raw, int ptr, int end, AnyObjectId id)private voidObjectChecker. checkPathSegment2(byte[] raw, int ptr, int end, AnyObjectId id)private voidObjectChecker. checkPersonIdent(byte[] raw, AnyObjectId id)voidObjectChecker. checkTag(AnyObjectId id, byte[] raw)Check an annotated tag for errors.voidObjectChecker. checkTree(AnyObjectId id, byte[] raw)Check a canonical formatted tree for errors.private booleanObjectChecker. checkTruncatedIgnorableUTF8(byte[] raw, int ptr, int end, AnyObjectId id)private booleanObjectChecker. 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 booleanObjectId. isId(java.lang.String id)Test a string of characters to verify it is a hex format.private booleanObjectChecker. isMacHFSGit(byte[] raw, int ptr, int end, AnyObjectId id)private booleanObjectChecker. isMacHFSGitmodules(byte[] raw, int ptr, int end, AnyObjectId id)private booleanObjectChecker. isMacHFSPath(byte[] raw, int ptr, int end, byte[] path, AnyObjectId id)private voidObjectChecker. report(ObjectChecker.ErrorType err, AnyObjectId id, java.lang.String why)private intObjectChecker. scanPathSegment(byte[] raw, int ptr, int end, AnyObjectId id)voidRepository. setGitwebDescription(java.lang.String description)Set theGIT_DIR/descriptionfile for gitweb.voidObjectBuilder. setGpgSignature(GpgSignature gpgSignature)Sets the GPG signature of this object.ObjectCheckerObjectChecker. setIgnore(java.util.Set<ObjectChecker.ErrorType> ids)Configure error types to be ignored across all objects.voidObjectBuilder. setMessage(java.lang.String message)Sets the message (commit message, or message of an annotated tag).ObjectCheckerObjectChecker. setSkipList(ObjectIdSet objects)Enable accepting specific malformed (but not horribly broken) objects.abstract voidGpgSigner. sign(CommitBuilder commit, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Signs the specified commit.voidGpgObjectSigner. signObject(ObjectBuilder object, java.lang.String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Signs the specified object.static voidObjectIdSerializer. write(java.io.OutputStream out, AnyObjectId id)Write a possibly nullObjectIdto the stream, using markers to differentiate null and non-null instances.Constructor parameters in org.eclipse.jgit.lib with annotations of type Nullable Constructor Description ObjectIdRef(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.PeeledNonTag(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p)Create a new ref pairing.PeeledTag(Ref.Storage st, java.lang.String name, ObjectId id, ObjectId p, long updateIndex)Create a new ref pairing with update index.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id)Create a new ref pairing.Unpeeled(Ref.Storage st, java.lang.String name, ObjectId id, long updateIndex)Create a new ref pairing with update index. -
Uses of Nullable in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge with annotations of type Nullable Modifier and Type Field Description protected RepositoryMerger. dbThe repository this merger operates on.Methods in org.eclipse.jgit.merge with annotations of type Nullable Modifier and Type Method Description RepositoryMerger. 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 Nullable Modifier and Type Method Description java.lang.StringRevCommit. getEncodingName()Determine the encoding of the commit message buffer.byte[]RevTag. getRawGpgSignature()Parse the GPG signature from the raw buffer.private RevCommitRevWalk. 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 Nullable Modifier and Type Field Description (package private) java.lang.StringFetchRequest. agent(package private) java.lang.StringFetchV2Request.Builder. agentprivate java.lang.StringLsRefsV2Request. agent(package private) TransferConfig.ProtocolVersionTransport. protocol(package private) TransferConfig.ProtocolVersionTransferConfig. protocolVersionMethods in org.eclipse.jgit.transport with annotations of type Nullable Modifier and Type Method Description java.lang.StringFilterSpec. filterLine()private RefUploadPack. findRef(java.lang.String name)Find a ref in the usual search path on behalf of the client.(package private) java.lang.StringFetchRequest. getAgent()java.lang.StringLsRefsV2Request. getAgent()java.lang.StringReceiveCommand. getNewSymref()Get requested new target for a symbolic reference.java.lang.StringReceiveCommand. getOldSymref()Get expected old target for a symbolic reference.java.util.List<java.lang.String>ReceivePack. getPushOptions()Gets an unmodifiable view of the option strings associated with the push.ReceivedPackStatisticsReceivePack. getReceivedPackStatistics()Returns the statistics on the received pack if available.java.lang.StringReceiveCommand. getRefLogMessage()Get the message to include in the reflog.java.lang.BooleanReceiveCommand. isForceRefLog()Check whether the reflog should be written regardless of repo defaults.ObjectCheckerTransferConfig. newObjectChecker()Create checker to verify fetched objectsObjectCheckerTransferConfig. newReceiveObjectChecker()Create checker to verify objects pushed into this repositoryprivate static RevCommitUploadPack. objectIdToRevCommit(RevWalk walk, ObjectId objectId)Translate an object id to a RevCommit.private static RevObjectUploadPack. objectIdToRevObject(RevWalk walk, ObjectId objectId)Translate an object id to a RevObject.(package private) static ObjectChecker.ErrorTypeTransferConfig.FsckKeyNameHolder. parse(java.lang.String key)(package private) static TransferConfig.ProtocolVersionTransferConfig.ProtocolVersion. parse(java.lang.String name)Method parameters in org.eclipse.jgit.transport with annotations of type Nullable Modifier and Type Method Description (package private) voidDaemonService. execute(DaemonClient client, java.lang.String commandLine, java.util.Collection<java.lang.String> extraParameters)(package private) abstract voidDaemonService. execute(DaemonClient client, Repository db, java.util.Collection<java.lang.String> extraParameters)static ReceiveCommandReceiveCommand. link(java.lang.String oldTarget, java.lang.String newTarget, java.lang.String name)Create a command to switch a symbolic reference's target.(package private) static TransferConfig.ProtocolVersionTransferConfig.ProtocolVersion. parse(java.lang.String name)voidUploadPack. sendAdvertisedRefs(RefAdvertiser adv, java.lang.String serviceName)Generate an advertisement of available refs and capabilities.private voidUploadPack. sendPack(ProgressMonitor pm, PacketLineOut pckOut, java.io.OutputStream packOut, FetchRequest req, PackStatistics.Accumulator accumulator, java.util.Collection<Ref> allTags, java.util.List<ObjectId> unshallowCommits, java.util.List<ObjectId> deepenNots)Send the requested objects to the client.private voidUploadPack. sendPack(PackStatistics.Accumulator accumulator, FetchRequest req, java.util.Collection<Ref> allTags, java.util.List<ObjectId> unshallowCommits, java.util.List<ObjectId> deepenNots, PacketLineOut pckOut)Send the requested objects to the client.voidUploadPack. setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs)Set the refs advertised by this UploadPack.voidUploadPack. setAdvertiseRefsHook(AdvertiseRefsHook advertiseRefsHook)Set the hook used while advertising the refs to the client.(package private) FetchV2Request.BuilderFetchV2Request.Builder. setAgent(java.lang.String agentValue)Value of an agent line received after the command and before the arguments.LsRefsV2Request.BuilderLsRefsV2Request.Builder. setAgent(java.lang.String value)Value of an agent line received after the command and before the arguments.voidUploadPack. setCachedPackUriProvider(CachedPackUriProvider p)voidUploadPack. setPackConfig(PackConfig pc)Set the configuration used by the pack generator.voidUploadPack. setPostUploadHook(PostUploadHook hook)Set the hook for post upload actions (logging, repacking).voidUploadPack. setPreUploadHook(PreUploadHook hook)Set the hook that controls how this instance will behave.voidUploadPack. setProtocolV2Hook(ProtocolV2Hook hook)Set the protocol V2 hook.voidReceivePack. setPushOptions(java.util.List<java.lang.String> options)Set the push options supplied by the client.voidUploadPack. setRefFilter(RefFilter refFilter)Set the filter used while advertising the refs to the client.voidUploadPack. setRequestValidator(UploadPack.RequestValidator validator)Set custom validator for client want list.voidUploadPack. setTransferConfig(TransferConfig tc)Set configuration controlling transfer options.voidUploadPack. upload(java.io.InputStream input, java.io.OutputStream output, java.io.OutputStream messages)Execute the upload task on the socket.voidUploadPack. uploadWithExceptionPropagation(java.io.InputStream input, java.io.OutputStream output, java.io.OutputStream messages)Execute the upload task on the socket.Constructor parameters in org.eclipse.jgit.transport with annotations of type Nullable Constructor Description FetchRequest(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, java.lang.String agent)Initialize the common fields of a fetch request.FetchV0Request(java.util.Set<ObjectId> wantIds, int depth, java.util.Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent)FetchV2Request(java.util.List<ObjectId> peerHas, java.util.List<java.lang.String> wantedRefs, java.util.Set<ObjectId> wantIds, java.util.Set<ObjectId> clientShallowCommits, int deepenSince, java.util.List<java.lang.String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, java.util.Set<java.lang.String> clientCapabilities, java.lang.String agent, java.util.List<java.lang.String> serverOptions, boolean sidebandAll, java.util.List<java.lang.String> packfileUriProtocols)LsRefsV2Request(java.util.List<java.lang.String> refPrefixes, boolean symrefs, boolean peel, java.lang.String agent, java.util.List<java.lang.String> serverOptions)ReceiveCommand(java.lang.String oldTarget, java.lang.String newTarget, java.lang.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 Nullable Modifier and Type Method Description CoreConfig.EolStreamTypeTreeWalk. 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 Nullable Modifier and Type Method Description static TreeWalkTreeWalk. forPath(Repository repo, ObjectReader reader, java.lang.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 Nullable Constructor Description NameConflictTreeWalk(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.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 Nullable Modifier and Type Method Description LfsFactory.LfsInstallCommandLfsFactory. getInstallCommand()Retrieve anLfsFactory.LfsInstallCommandwhich can be used to enable LFS support (if available) either per repository or for the user.PrePushHookLfsFactory. getPrePushHook(Repository repo, java.io.PrintStream outputStream)Retrieve a pre-push hook to be applied using the default error stream.PrePushHookLfsFactory. getPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Retrieve a pre-push hook to be applied.private static IntListRawParseUtils. lineMapOrNull(byte[] buf, int ptr, int end)static java.lang.StringRawParseUtils. parseEncodingName(byte[] b)Parse the "encoding " header as a string.protected static java.lang.StringFS. readPipe(java.io.File dir, java.lang.String[] command, java.lang.String encoding)Execute a command and return a single line of output as a Stringprotected static java.lang.StringFS. readPipe(java.io.File dir, java.lang.String[] command, java.lang.String encoding, java.util.Map<java.lang.String,java.lang.String> env)Execute a command and return a single line of output as a Stringstatic javax.management.ObjectInstanceMonitoring. registerMBean(java.lang.Object mbean, java.lang.String metricName)Register a MBean with the platform MBean serverMethod parameters in org.eclipse.jgit.util with annotations of type Nullable Modifier and Type Method Description static java.lang.StringSshSupport. runSshCommand(URIish sshUri, CredentialsProvider provider, FS fs, java.lang.String command, int timeout)Utility to execute a remote SSH command and read the first line of output.private static FS.LockTokenFS_POSIX. token(boolean created, java.nio.file.Path p)static <T extends Ref>
java.util.stream.Collector<T,?,RefList<T>>RefList. toRefList(java.util.function.BinaryOperator<T> mergeFunction)Create aCollectorforRef.
-