Uses of Class
org.eclipse.jgit.annotations.Nullable
-
Packages that use Nullable Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.api.errors Exceptions thrown by API commands.org.eclipse.jgit.attributes Support for reading .gitattributes.org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.errors Exceptions thrown by lower-level JGit APIs.org.eclipse.jgit.gitrepo org.eclipse.jgit.gpg.bc.internal org.eclipse.jgit.ignore Ignore rule parser/matcher (for .gitignore entries).org.eclipse.jgit.internal.fsck Git fsck support.org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.pack Reading/writing Git pack files.org.eclipse.jgit.internal.storage.reftable org.eclipse.jgit.internal.transport.parser org.eclipse.jgit.lfs org.eclipse.jgit.lfs.internal org.eclipse.jgit.lfs.server org.eclipse.jgit.lfs.server.fs org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.revwalk Walking revision graphs (commit history).org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes. -
-
Uses of Nullable in org.eclipse.jgit.api
Method parameters in org.eclipse.jgit.api with annotations of type Nullable Modifier and Type Method Description 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. -
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(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 protected voidAttributesHandler. mergeAttributes(AttributesNode node, String entryPath, boolean isDirectory, Attributes result)Merges the matching node attributes for an entry path. -
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(String uri, 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(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)booleanBouncyCastleGpgSigner. canLocateSigningKey(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)voidBouncyCastleGpgSigner. sign(CommitBuilder commit, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)voidBouncyCastleGpgSigner. signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config) -
Uses of Nullable in org.eclipse.jgit.ignore
Methods in org.eclipse.jgit.ignore with annotations of type Nullable Modifier and Type Method Description BooleanIgnoreNode. checkIgnored(String entryPath, boolean isDirectory)Determine if an entry path matches an ignore rule. -
Uses of Nullable in org.eclipse.jgit.internal.fsck
Methods 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 StringInMemoryRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.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, String name, PackExt ext)Create aDfsStreamKeyvoidInMemoryRepository. setGitwebDescription(String d)Set theGIT_DIR/descriptionfile for gitweb.Constructor parameters in org.eclipse.jgit.internal.storage.dfs with annotations of type Nullable Constructor Description DfsStreamKey(int hash, PackExt ext)Constructor for DfsStreamKey. -
Uses of Nullable in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Modifier and Type Method Description RefRefDirectory. firstExactRef(String... refs)Find the first named reference.StringFileRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.Method parameters in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Modifier and Type Method Description voidFileRepository. setGitwebDescription(String description)Set theGIT_DIR/descriptionfile for gitweb.Constructor parameters in org.eclipse.jgit.internal.storage.file with annotations of type Nullable Constructor Description FileReftableStack(File stackPath, File reftableDir, Runnable onChange, Supplier<Config> configSupplier)Creates a stack corresponding to the list of reftables in the argumentPack(File packFile, PackFile bitmapIdxFile)Construct a reader for an existing, pre-indexed packfile. -
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, Collection<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(String refName)Lookup a reference, or null if not found.RefReftableDatabase. exactRef(String name)Read a single reference.abstract ReflogEntryLogCursor. getReflogEntry()Get current log entry.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 voidReftableWriter. 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.parser
Methods in org.eclipse.jgit.internal.transport.parser with annotations of type Nullable Modifier and Type Method Description StringFirstWant. getAgent() -
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, PrintStream outputStream)PrePushHookBuiltinLFS. getPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)static LfsPointerLfsPointer. 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 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(String name)Read a single reference.RefRepository. exactRef(String name)Get a ref by name.RefRefDatabase. findRef(String name)Read a single reference.static RefRefDatabase. findRef(Map<String,Ref> map, String name)Try to find the specified name in the ref map usingRefDatabase.SEARCH_PATH.RefRepository. findRef(String name)Search for a ref by (possibly abbreviated) name.RefRefDatabase. firstExactRef(String... refs)Find the first named reference.StringRepository. getBranch()Get the short name of the current branch thatHEADpoints to.StringCommitConfig. getCommitEncoding()Get the encoding of the commit as defined in the giti18n.commitEncodingproperty.StringCommitConfig. getCommitTemplateContent(Repository repository)Get the content to the commit template as defined incommit.template.StringCommitConfig. getCommitTemplatePath()Get the path to the commit template as defined in the gitcommit.templateproperty.ObjectInserterObjectReader.Filter. getCreatedFromInserter()ObjectInserterObjectReader. getCreatedFromInserter()Get theObjectInserterfrom which this reader was created usinginserter.newReader()StringRepository. getFullBranch()Get the name of the reference thatHEADpoints to.StringRepository. getGitwebDescription()Read theGIT_DIR/descriptionfile for gitweb.GpgSignatureObjectBuilder. getGpgSignature()Retrieves the GPG signature of this object.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).List<String>BatchRefUpdate. getPushOptions()Gets the list of option strings associated with this update.RefRefDatabase. getRef(String name)Deprecated.UseRefDatabase.findRef(String)instead.StringBatchRefUpdate. getRefLogMessage()Get the message to include in the reflog.abstract ReflogReaderRepository. getReflogReader(String refName)Get the reflog readerStringRepository. getRemoteName(String refName)Get remote nameBlobObjectCheckerObjectChecker. newBlobObjectChecker()Create a newBlobObjectChecker.static ObjectIdObjectIdSerializer. read(InputStream in)Read a possibly nullObjectIdfrom the stream.ObjectIdRepository. readCherryPickHead()Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.StringRepository. readCommitEditMsg()Return the information stored in the file $GIT_DIR/COMMIT_EDITMSG.StringRepository. readMergeCommitMsg()Return the information stored in the file $GIT_DIR/MERGE_MSG.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.StringRepository. readSquashCommitMsg()Return the information stored in the file $GIT_DIR/SQUASH_MSG.ObjectIdRepository. resolve(String revstr)Parse a git revision string and return an object id.StringRepository. shortenRemoteBranchName(String refName)Get a shortened more user friendly remote tracking branch nameStringRepository. simplify(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(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Indicates if a signing key is available for the specified committer and/or signing key.abstract booleanGpgSigner. canLocateSigningKey(String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Indicates if a signing key is available for the specified committer and/or signing key.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.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.static booleanObjectId. isId(String id)Test a string of characters to verify it is a hex format.voidRepository. setGitwebDescription(String description)Set theGIT_DIR/descriptionfile for gitweb.voidObjectBuilder. setGpgSignature(GpgSignature gpgSignature)Sets the GPG signature of this object.ObjectCheckerObjectChecker. setIgnore(Set<ObjectChecker.ErrorType> ids)Configure error types to be ignored across all objects.voidObjectBuilder. setMessage(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, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider)Signs the specified commit.voidGpgObjectSigner. signObject(ObjectBuilder object, String gpgSigningKey, PersonIdent committer, CredentialsProvider credentialsProvider, GpgConfig config)Signs the specified object.static voidObjectIdSerializer. write(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, 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 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 StringRevCommit. getEncodingName()Determine the encoding of the commit message buffer.byte[]RevTag. getRawGpgSignature()Parse the GPG signature from the raw buffer. -
Uses of Nullable in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport with annotations of type Nullable Modifier and Type Method Description StringFilterSpec. filterLine()StringLsRefsV2Request. getAgent()StringReceiveCommand. getNewSymref()Get requested new target for a symbolic reference.StringReceiveCommand. getOldSymref()Get expected old target for a symbolic reference.List<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.StringReceiveCommand. getRefLogMessage()Get the message to include in the reflog.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 repositoryMethod parameters in org.eclipse.jgit.transport with annotations of type Nullable Modifier and Type Method Description static ReceiveCommandReceiveCommand. link(String oldTarget, String newTarget, String name)Create a command to switch a symbolic reference's target.voidUploadPack. sendAdvertisedRefs(RefAdvertiser adv, String serviceName)Generate an advertisement of available refs and capabilities.voidUploadPack. setAdvertisedRefs(Map<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.LsRefsV2Request.BuilderLsRefsV2Request.Builder. setAgent(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(List<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(InputStream input, OutputStream output, OutputStream messages)Execute the upload task on the socket.voidUploadPack. uploadWithExceptionPropagation(InputStream input, OutputStream output, OutputStream messages)Execute the upload task on the socket. -
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, 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. -
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, PrintStream outputStream)Retrieve a pre-push hook to be applied using the default error stream.PrePushHookLfsFactory. getPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)Retrieve a pre-push hook to be applied.static StringRawParseUtils. parseEncodingName(byte[] b)Parse the "encoding " header as a string.protected static StringFS. readPipe(File dir, String[] command, String encoding)Execute a command and return a single line of output as a Stringprotected static StringFS. readPipe(File dir, String[] command, String encoding, Map<String,String> env)Execute a command and return a single line of output as a Stringstatic ObjectInstanceMonitoring. registerMBean(Object mbean, 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 StringSshSupport. 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.static <T extends Ref>
Collector<T,?,RefList<T>>RefList. toRefList(BinaryOperator<T> mergeFunction)
-