Uses of Class
org.eclipse.jgit.lib.ObjectId
-
Packages that use ObjectId 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.archive org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.errors Exceptions thrown by lower-level JGit APIs.org.eclipse.jgit.gitrepo org.eclipse.jgit.http.test 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.connectivity org.eclipse.jgit.junit 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.notes Git notes processing (for commits, etc).org.eclipse.jgit.pgm org.eclipse.jgit.pgm.debug org.eclipse.jgit.pgm.opt org.eclipse.jgit.revplot Building/rendering revision graphs.org.eclipse.jgit.revwalk Walking revision graphs (commit history).org.eclipse.jgit.storage.file org.eclipse.jgit.storage.pack org.eclipse.jgit.submodule Git submodule support.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.org.eclipse.jgit.util.sha1 -
-
Uses of ObjectId in org.eclipse.jgit.api
Subclasses of ObjectId in org.eclipse.jgit.api Modifier and Type Class Description private static classNameRevCommand.NameRevCommitFields in org.eclipse.jgit.api declared as ObjectId Modifier and Type Field Description private ObjectIdMergeResult. baseprivate ObjectId[]MergeResult. mergedCommitsprivate ObjectIdMergeResult. newHeadprivate ObjectIdBlameCommand. startCommitprivate ObjectIdArchiveCommand. treeprivate ObjectIdApplyCommand.Result. treeIdFields in org.eclipse.jgit.api with type parameters of type ObjectId Modifier and Type Field Description private java.util.List<ObjectId>CommitCommand. parentsparents this commit should have.private java.util.Collection<ObjectId>BlameCommand. reverseEndCommitsprivate java.util.List<ObjectId>NameRevCommand. revsMethods in org.eclipse.jgit.api that return ObjectId Modifier and Type Method Description ObjectIdStashApplyCommand. call()ObjectIdStashDropCommand. call()ObjectIdMergeResult. getBase()Get the common baseObjectId[]MergeResult. getMergedCommits()Get the commits which have been mergedObjectIdMergeResult. getNewHead()Get the object the head points at after the mergeprivate ObjectIdDescribeCommand. getObjectIdFromRef(Ref r)private ObjectIdRebaseCommand. getOriginalHead()private ObjectIdCheckoutCommand. getStartPointObjectId()private ObjectIdCreateBranchCommand. getStartPointObjectId()private ObjectIdStashApplyCommand. getStashId()ObjectIdApplyCommand.Result. getTreeId()Get tree IDprivate ObjectIdResetCommand. resolveRefToCommitId()Methods in org.eclipse.jgit.api that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Map<ObjectId,java.lang.String>NameRevCommand. call()Methods in org.eclipse.jgit.api with parameters of type ObjectId Modifier and Type Method Description NameRevCommandNameRevCommand. add(ObjectId id)Add an object to search for.private voidResetCommand. checkoutIndex(ObjectId commitTree)private DirCacheCommitCommand. createTemporaryIndex(ObjectId headId, DirCache index, RevWalk rw)private voidCommitCommand. insertChangeId(ObjectId treeId)private java.lang.StringDescribeCommand. longDescription(Ref tag, int depth, ObjectId tip)private RevCommitResetCommand. parseCommit(ObjectId commitId)private RevCommitStashCreateCommand. parseCommit(ObjectReader reader, ObjectId headId)voidArchiveCommand.Format. putEntry(T out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.private voidResetCommand. resetIndex(ObjectId commitTree)private voidResetCommand. resetIndexForPaths(ObjectId commitTree)DescribeCommandDescribeCommand. setTarget(ObjectId target)Sets the commit to be described.ArchiveCommandArchiveCommand. setTree(ObjectId tree)Set the tag, commit, or tree object to produce an archive forprivate voidMergeCommand. updateHead(java.lang.StringBuilder refLogMessage, ObjectId newHeadId, ObjectId oldHeadID)private voidStashDropCommand. updateRef(Ref stashRef, ObjectId newId)private voidRebaseCommand. updateStashRef(ObjectId commitId, PersonIdent refLogIdent, java.lang.String refLogMessage)private voidStashCreateCommand. updateStashRef(ObjectId commitId, PersonIdent refLogIdent, java.lang.String refLogMessage)private RefTagCommand. updateTagRef(ObjectId tagId, RevWalk revWalk, java.lang.String tagName, java.lang.String newTagToString)Method parameters in org.eclipse.jgit.api with type arguments of type ObjectId Modifier and Type Method Description NameRevCommandNameRevCommand. add(java.lang.Iterable<ObjectId> ids)Add multiple objects to search for.private voidNameRevCommand. addPrefix(java.lang.String prefix, java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)private voidNameRevCommand. addPrefixes(java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)private voidNameRevCommand. addRef(Ref ref, java.util.Map<ObjectId,java.lang.String> nonCommits, FIFORevQueue pending)BlameCommandBlameCommand. reverse(AnyObjectId start, java.util.Collection<ObjectId> end)Configure the generator to compute reverse blame (history of deletes).Constructors in org.eclipse.jgit.api with parameters of type ObjectId Constructor Description MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults)Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults, java.lang.String description)Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, java.util.Map<java.lang.String,MergeResult<?>> lowLevelResults, java.util.Map<java.lang.String,ResolveMerger.MergeFailureReason> failingPaths, java.lang.String description)Constructor for MergeResult. -
Uses of ObjectId in org.eclipse.jgit.api.errors
Constructors in org.eclipse.jgit.api.errors with parameters of type ObjectId Constructor Description WrongObjectTypeException(ObjectId id, int type)Construct aWrongObjectTypeExceptionfor the specified object id, giving the expected type. -
Uses of ObjectId in org.eclipse.jgit.archive
Methods in org.eclipse.jgit.archive with parameters of type ObjectId Modifier and Type Method Description voidTarFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTbz2Format. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTgzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTxzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidZipFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive. -
Uses of ObjectId in org.eclipse.jgit.blame
Subclasses of ObjectId in org.eclipse.jgit.blame Modifier and Type Class Description (package private) static classReverseWalk.ReverseCommitFields in org.eclipse.jgit.blame declared as ObjectId Modifier and Type Field Description (package private) ObjectIdCandidate. sourceBlobUnique name of the candidate blob inCandidate.sourceCommit.Methods in org.eclipse.jgit.blame with parameters of type ObjectId Modifier and Type Method Description private java.util.List<RevCommit>BlameGenerator. getHeads(Repository repo, ObjectId head)Method parameters in org.eclipse.jgit.blame with type arguments of type ObjectId Modifier and Type Method Description BlameGeneratorBlameGenerator. reverse(AnyObjectId start, java.util.Collection<? extends ObjectId> end)Configure the generator to compute reverse blame (history of deletes). -
Uses of ObjectId in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that return ObjectId Modifier and Type Method Description ObjectIdPatchIdDiffFormatter. getCalulatedPatchId()Should be called after having called one of the format methodsMethods in org.eclipse.jgit.diff with parameters of type ObjectId Modifier and Type Method Description ObjectLoaderContentSource.ObjectReaderSource. open(java.lang.String path, ObjectId id)abstract ObjectLoaderContentSource. open(java.lang.String path, ObjectId id)Open the object.ObjectLoaderContentSource.WorkingTreeSource. open(java.lang.String path, ObjectId id)longContentSource.ObjectReaderSource. size(java.lang.String path, ObjectId id)abstract longContentSource. size(java.lang.String path, ObjectId id)Determine the size of the object.longContentSource.WorkingTreeSource. size(java.lang.String path, ObjectId id) -
Uses of ObjectId in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as ObjectId Modifier and Type Field Description private ObjectIdDirCacheCheckout. headCommitTreeprivate ObjectIdDirCacheTree. idUnique SHA-1 of this tree; null if invalid.private ObjectIdDirCacheCheckout. mergeCommitTree(package private) ObjectIdDirCacheIterator.LazyLoadingAttributesNode. objectIdMethods in org.eclipse.jgit.dircache that return ObjectId Modifier and Type Method Description ObjectIdDirCacheEntry. getObjectId()Obtain the ObjectId for the entry.ObjectIdDirCacheTree. getObjectId()Get the tree's ObjectId.ObjectIdDirCache. writeTree(ObjectInserter ow)Write all index trees to the object store, returning the root tree.(package private) ObjectIdDirCacheTree. writeTree(DirCacheEntry[] cache, int cIdx, int pathOffset, ObjectInserter ow)Write (if necessary) this tree to the object store.Methods in org.eclipse.jgit.dircache with parameters of type ObjectId Modifier and Type Method Description private voidDirCacheCheckout. addTree(TreeWalk tw, ObjectId id)private booleanDirCacheCheckout. equalIdAndMode(ObjectId id1, FileMode mode1, ObjectId id2, FileMode mode2)Compares whether two pairs of ObjectId and FileMode are equal.private booleanDirCacheCheckout. isModified_IndexTree(java.lang.String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree)private booleanDirCacheCheckout. isModifiedSubtree_IndexTree(java.lang.String path, ObjectId tree)Checks whether the subtree starting at a given path differs between Index and some tree.private voidDirCacheCheckout. update(java.lang.String path, ObjectId mId, FileMode mode)Constructors in org.eclipse.jgit.dircache with parameters of type ObjectId Constructor Description DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.LazyLoadingAttributesNode(ObjectId objectId) -
Uses of ObjectId in org.eclipse.jgit.errors
Fields in org.eclipse.jgit.errors declared as ObjectId Modifier and Type Field Description private ObjectIdMissingObjectException. missingprivate ObjectIdLargeObjectException. objectIdFields in org.eclipse.jgit.errors with type parameters of type ObjectId Modifier and Type Field Description private java.util.Collection<ObjectId>AmbiguousObjectException. candidatesMethods in org.eclipse.jgit.errors that return ObjectId Modifier and Type Method Description ObjectIdLargeObjectException. getObjectId()Get identity of the object that is too large; may be nullObjectIdMissingObjectException. getObjectId()Get the ObjectId that was not foundMethods in org.eclipse.jgit.errors that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Collection<ObjectId>AmbiguousObjectException. getCandidates()Get the matching candidates (or at least a subset of them)Method parameters in org.eclipse.jgit.errors with type arguments of type ObjectId Modifier and Type Method Description private static java.lang.StringMissingBundlePrerequisiteException. format(java.util.Map<ObjectId,java.lang.String> missingCommits)Constructors in org.eclipse.jgit.errors with parameters of type ObjectId Constructor Description CorruptObjectException(ObjectId id, java.lang.String why)Construct a CorruptObjectException for reporting a problem specified object idIncorrectObjectTypeException(ObjectId id, int type)Construct an IncorrectObjectTypeException for the specified object id.IncorrectObjectTypeException(ObjectId id, java.lang.String type)Construct an IncorrectObjectTypeException for the specified object id.MissingObjectException(ObjectId id, int type)Construct a MissingObjectException for the specified object id.MissingObjectException(ObjectId id, java.lang.String type)Construct a MissingObjectException for the specified object id.Constructor parameters in org.eclipse.jgit.errors with type arguments of type ObjectId Constructor Description AmbiguousObjectException(AbbreviatedObjectId id, java.util.Collection<ObjectId> candidates)Construct a MissingObjectException for the specified object id.MissingBundlePrerequisiteException(URIish uri, java.util.Map<ObjectId,java.lang.String> missingCommits)Constructs a MissingBundlePrerequisiteException for a set of objects. -
Uses of ObjectId in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo that return ObjectId Modifier and Type Method Description ObjectIdRepoCommand.DefaultRemoteReader. sha1(java.lang.String uri, java.lang.String ref)ObjectIdRepoCommand.RemoteReader. sha1(java.lang.String uri, java.lang.String ref)Read a remote ref sha1. -
Uses of ObjectId in org.eclipse.jgit.http.test
Methods in org.eclipse.jgit.http.test with parameters of type ObjectId Modifier and Type Method Description java.util.Set<Ref>RefsUnreadableInMemoryRepository.RefsUnreadableRefDatabase. getTipsWithSha1(ObjectId id)Returns all refs that resolve directly to the givenObjectId. -
Uses of ObjectId in org.eclipse.jgit.internal.fsck
Subclasses of ObjectId in org.eclipse.jgit.internal.fsck Modifier and Type Class Description (package private) static classFsckPackParser.ObjFromPackFields in org.eclipse.jgit.internal.fsck declared as ObjectId Modifier and Type Field Description (package private) ObjectIdFsckError.CorruptObject. idFields in org.eclipse.jgit.internal.fsck with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>FsckError. missingObjectsMethods in org.eclipse.jgit.internal.fsck that return ObjectId Modifier and Type Method Description ObjectIdFsckError.CorruptObject. getId()Methods in org.eclipse.jgit.internal.fsck that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>FsckError. getMissingObjects()Get missing objects that should present in pack filesConstructors in org.eclipse.jgit.internal.fsck with parameters of type ObjectId Constructor Description CorruptObject(ObjectId id, int type, ObjectChecker.ErrorType errorType) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.dfs
Classes in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Class Description private static classDfsReader.FoundObject<T extends ObjectId>Subclasses of ObjectId in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description (package private) classDfsObjectToPackprivate static classDfsPackCompactor.ObjectIdWithOffsetFields in org.eclipse.jgit.internal.storage.dfs declared as ObjectId Modifier and Type Field Description (package private) ObjectIdDfsObjectRepresentation. baseIdprivate ObjectIdDfsInserter.StreamLoader. id(package private) TDfsReader.FoundObject. idFields in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>DfsGarbageCollector. allHeadsAndTagsprivate java.util.Set<ObjectId>DfsGarbageCollector. allTagsprivate java.util.Set<ObjectId>DfsGarbageCollector. nonHeadsprivate java.util.Set<ObjectId>DfsGarbageCollector. tagTargetsMethods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Method Description private <T extends ObjectId>
java.lang.Iterable<DfsReader.FoundObject<T>>DfsReader. findAll(java.lang.Iterable<T> objectIds)private <T extends ObjectId>
voidDfsReader. findAllImpl(DfsObjDatabase.PackList packList, java.util.Collection<T> pending, java.util.List<DfsReader.FoundObject<T>> r)<T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>DfsReader. open(java.lang.Iterable<T> objectIds, boolean reportMissing)Asynchronous object opening.Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectId Modifier and Type Method Description private ObjectIdDfsInserter. endObject(ObjectId id, long offset)ObjectIdDfsObjectRepresentation. getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.ObjectIdDfsInserter. insert(int type, byte[] data, int off, int len)Insert a single object into the store, returning its unique name.ObjectIdDfsInserter. insert(int type, long len, java.io.InputStream in)Insert a single object into the store, returning its unique name.Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>DfsInserter.Reader. getShallowCommits()java.util.Set<ObjectId>DfsReader. getShallowCommits()Returns IDs for those commits which should be considered as shallow.java.util.Collection<ObjectId>DfsInserter.Reader. resolve(AbbreviatedObjectId id)java.util.Collection<ObjectId>DfsReader. resolve(AbbreviatedObjectId id)Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectId Modifier and Type Method Description private ObjectIdDfsInserter. endObject(ObjectId id, long offset)private longDfsPackFile. findDeltaBase(DfsReader ctx, ObjectId baseId)java.util.Set<Ref>DfsReftableDatabase. getTipsWithSha1(ObjectId id)Returns all refs that resolve directly to the givenObjectId.Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type ObjectId Modifier and Type Method Description (package private) voidDfsPackFile. resolve(DfsReader ctx, java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)private voidDfsReader. resolveImpl(DfsObjDatabase.PackList packList, AbbreviatedObjectId id, java.util.HashSet<ObjectId> matches)Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectId Constructor Description StreamLoader(ObjectId id, int type, long sz, DfsStreamKey key, long pos) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description (package private) static classBasePackBitmapIndex.StoredBitmapData representation of the bitmap entry restored from a pack index.private static classBitmapIndexImpl.MutableEntryprivate static classCachedObjectDirectory.UnpackedObjectId(package private) static classLazyObjectIdSetFile.Entry(package private) classLocalObjectToPackprivate static classPackBitmapIndexBuilder.PositionEntrystatic classPackBitmapIndexRemapper.EntryAn entry in the old PackBitmapIndex.Fields in org.eclipse.jgit.internal.storage.file declared as ObjectId Modifier and Type Field Description private ObjectIdLocalObjectRepresentation. baseIdprivate ObjectIdRefDirectory.PackedRefList. idprivate ObjectIdUnpackedObject.LargeObject. idprivate static ObjectIdPackFileSnapshot. MISSING_CHECKSUMprivate ObjectIdReflogEntryImpl. newIdprivate ObjectIdBitmapIndexImpl.BitmapObjectImpl. objectIdprivate ObjectIdRefDirectoryRename. objIdThe value of the source reference at the start of the rename.private ObjectIdReflogEntryImpl. oldIdFields in org.eclipse.jgit.internal.storage.file with type parameters of type ObjectId Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReferenceArray<ObjectId>UnpackedObjectCache.Table. idsprivate java.util.Set<ObjectId>ObjectDirectory. shallowCommitsIdsMethods in org.eclipse.jgit.internal.storage.file that return ObjectId Modifier and Type Method Description private ObjectIdPackInserter. computeName(java.util.List<PackedObjectInfo> list)private ObjectIdPackInserter. endObject(ObjectId id, long offset)ObjectIdPackReverseIndex. findObject(long offset)Search for object id with the specified start offset in this pack (reverse) index.(package private) ObjectIdPackReverseIndex. findObjectByPosition(int nthPosition)(package private) ObjectIdPack. findObjectForOffset(long offset)Search for object id with the specified start offset in associated pack (reverse) index.ObjectIdLocalObjectRepresentation. getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.ObjectIdReflogEntryImpl. getNewId()Get the commit id after the changeabstract ObjectIdPackBitmapIndex. getObject(int position)Get the object at the bitmap position.ObjectIdPackBitmapIndexBuilder. getObject(int position)Get the object at the bitmap position.ObjectIdPackBitmapIndexRemapper. getObject(int position)Get the object at the bitmap position.ObjectIdPackBitmapIndexV1. getObject(int position)Get the object at the bitmap position.ObjectIdBitmapIndexImpl.BitmapObjectImpl. getObjectId()private ObjectIdLargePackedWholeObject. getObjectId()ObjectIdPackIndex. getObjectId(int nthPosition)Get ObjectId for the n-th object entry returned byPackIndex.iterator().abstract ObjectIdPackIndex. getObjectId(long nthPosition)Get ObjectId for the n-th object entry returned byPackIndex.iterator().ObjectIdPackIndexV1. getObjectId(long nthPosition)Get ObjectId for the n-th object entry returned byPackIndex.iterator().ObjectIdPackIndexV2. getObjectId(long nthPosition)Get ObjectId for the n-th object entry returned byPackIndex.iterator().ObjectIdRefDirectory.LooseUnpeeled. getObjectId()ObjectIdReflogEntryImpl. getOldId()Get the commit id before the changeObjectIdObjectDirectoryInserter. insert(int type, byte[] data, int off, int len)Insert a single object into the store, returning its unique name.private ObjectIdObjectDirectoryInserter. insert(int type, byte[] data, int off, int len, boolean createDuplicate)Insert a loose object into the database.ObjectIdObjectDirectoryInserter. insert(int type, long len, java.io.InputStream is)Insert a single object into the store, returning its unique name.(package private) ObjectIdObjectDirectoryInserter. insert(int type, long len, java.io.InputStream is, boolean createDuplicate)Insert a loose object into the database.ObjectIdPackInserter. insert(int type, byte[] data, int off, int len)Insert a single object into the store, returning its unique name.ObjectIdPackInserter. insert(int type, long len, java.io.InputStream in)Insert a single object into the store, returning its unique name.private ObjectIdObjectDirectoryInserter. insertOneObject(java.io.File tmp, ObjectId id, boolean createDuplicate)ObjectIdPackIndex.MutableEntry. toObjectId()Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>FileRepository. getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().private java.util.Set<ObjectId>FileRepository. getAdditionalHaves(java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)Objects known to exist but not expressed by#getAllRefs().(package private) java.util.Set<ObjectId>CachedObjectDirectory. getShallowCommits()(package private) abstract java.util.Set<ObjectId>FileObjectDatabase. getShallowCommits()(package private) java.util.Set<ObjectId>ObjectDirectory. getShallowCommits()java.util.Set<ObjectId>PackInserter.Reader. getShallowCommits()java.util.Set<ObjectId>WindowCursor. getShallowCommits()Returns IDs for those commits which should be considered as shallow.private java.util.Set<ObjectId>GC. listNonHEADIndexObjects()Return a list of those objects in the index which differ from whats in HEADprivate java.util.Set<ObjectId>GC. listRefLogObjects(Ref ref, long minTime)java.util.Collection<ObjectId>PackInserter.Reader. resolve(AbbreviatedObjectId id)java.util.Collection<ObjectId>WindowCursor. resolve(AbbreviatedObjectId id)Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId Modifier and Type Method Description private byte[]ReflogWriter. encode(ObjectId oldId, ObjectId newId, PersonIdent ident, java.lang.String message)private ObjectIdPackInserter. endObject(ObjectId id, long offset)private longPack. findDeltaBase(ObjectId baseId)(package private) static java.io.InputStreamUnpackedObject. inflate(java.io.InputStream in, long size, ObjectId id)(package private) FileObjectDatabase.InsertLooseObjectResultLooseObjects. insert(java.io.File tmp, ObjectId id)private ObjectIdObjectDirectoryInserter. insertOneObject(java.io.File tmp, ObjectId id, boolean createDuplicate)(package private) FileObjectDatabase.InsertLooseObjectResultCachedObjectDirectory. insertUnpackedObject(java.io.File tmp, ObjectId objectId, boolean createDuplicate)(package private) abstract FileObjectDatabase.InsertLooseObjectResultFileObjectDatabase. insertUnpackedObject(java.io.File tmp, ObjectId id, boolean createDuplicate)(package private) FileObjectDatabase.InsertLooseObjectResultObjectDirectory. insertUnpackedObject(java.io.File tmp, ObjectId id, boolean createDuplicate)ReflogWriterReflogWriter. log(java.lang.String refName, ObjectId oldId, ObjectId newId, PersonIdent ident, java.lang.String message)Write the given entry information to the ref's log(package private) static LocalObjectRepresentationLocalObjectRepresentation. newDelta(Pack pack, long offset, long length, ObjectId base)private FileObjectDatabase.InsertLooseObjectResultLooseObjects. tryMove(java.io.File tmp, java.io.File dst, ObjectId id)voidLockFile. write(ObjectId id)Write an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectId Modifier and Type Method Description private voidGC. loosen(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, java.util.HashSet<ObjectId> existing)Loosen objects in a pack file which are not also in the newly-created pack files.voidGC. prune(java.util.Set<ObjectId> objectsToKeep)Like "git prune" this method tries to prune all loose objects which are unreferenced.private voidGC. removeReferenced(java.util.Map<ObjectId,java.io.File> id2File, ObjectWalk w)Remove all entries from a map which key is the id of an object referenced by the given ObjectWalk(package private) voidCachedObjectDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)(package private) abstract voidFileObjectDatabase. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)(package private) booleanLooseObjects. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)Find objects matching the prefix abbreviation.(package private) voidObjectDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id)private voidObjectDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, java.util.Set<ObjectDirectory.AlternateHandle.Id> skips)(package private) voidPack. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)(package private) booleanPackDirectory. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)Find objects matching the prefix abbreviation.abstract voidPackIndex. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)Find objects matching the prefix abbreviation.voidPackIndexV1. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)Find objects matching the prefix abbreviation.voidPackIndexV2. resolve(java.util.Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit)Find objects matching the prefix abbreviation.private PackGC. writePack(java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<ObjectId> tags, java.util.Set<ObjectId> tagTargets, java.util.List<ObjectIdSet> excludeObjects)Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId Constructor Description LooseNonTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id)LoosePeeledTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id, ObjectId p)LooseUnpeeled(FileSnapshot snapShot, java.lang.String refName, ObjectId id)PackedRefList(RefList<Ref> src, FileSnapshot s, ObjectId i)PackFile(java.io.File directory, ObjectId id, PackExt ext)Create a PackFile for a pack or related file. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.pack Modifier and Type Class Description private static classBaseSearch.TreeWithDataclassBitmapCommitA commit object for which a bitmap index should be built.classObjectToPackPer-object state used byPackWriter.Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectId Modifier and Type Field Description private ObjectId[]BaseSearch. baseTreesprivate ObjectIdObjectToPack. deltaBaseOther object being packed that this will delta against.Fields in org.eclipse.jgit.internal.storage.pack with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<? extends ObjectId>PackWriter. excludeFromBitmapSelectionprivate java.util.Map<ObjectId,java.lang.Integer>PackWriter.DepthAwareVisitationPolicy. lowestDepthVisited(package private) java.util.Set<? extends ObjectId>PackWriterBitmapPreparer.CommitSelectionHelper. newWantsstatic java.util.Set<ObjectId>PackWriter. NONEEmpty set of objects forpreparePack().private java.util.Set<ObjectId>PackWriter. tagTargetsprivate java.util.Collection<? extends ObjectId>PackWriter. unshallowObjectsprivate java.util.Set<? extends ObjectId>PackWriterBitmapPreparer. wantMethods in org.eclipse.jgit.internal.storage.pack that return ObjectId Modifier and Type Method Description ObjectIdPackWriter. computeName()Computes SHA-1 of lexicographically sorted objects ids written in this pack, as used to name a pack file in repository.ObjectIdStoredObjectRepresentation. getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.ObjectIdObjectToPack. getDeltaBaseId()Get delta base object id if object is going to be packed in delta representationMethods in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectId Modifier and Type Method Description (package private) voidObjectToPack. setDeltaBase(ObjectId deltaBase)Set delta base for the object.Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectId Modifier and Type Method Description private PackWriterBitmapPreparer.CommitSelectionHelperPackWriterBitmapPreparer. captureOldAndNewCommits(RevWalk rw, int expectedCommitCount, java.util.Set<? extends ObjectId> excludeFromBitmapSelection)Records which of thewantscan be found in the previous GC pack's bitmap indices and which are new.private voidPackWriter. findObjectsToPack(ProgressMonitor countingMonitor, ObjectWalk walker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> noBitmaps)private voidPackWriter. findObjectsToPackUsingBitmaps(BitmapWalker bitmapWalker, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, java.util.Set<? extends ObjectId> want, java.util.Set<? extends ObjectId> have, java.util.Set<? extends ObjectId> shallow, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, java.util.Set<? extends ObjectId> interestingObjects, java.util.Set<? extends ObjectId> uninterestingObjects, java.util.Set<? extends ObjectId> noBitmaps)Prepare the list of objects to be written to the pack stream.(package private) java.util.Collection<BitmapCommit>PackWriterBitmapPreparer. selectCommits(int expectedCommitCount, java.util.Set<? extends ObjectId> excludeFromBitmapSelection)Returns the commit objects for which bitmap indices should be built.voidPackWriter. setClientShallowCommits(java.util.Set<ObjectId> clientShallowCommits)Records the set of shallow commits in the client.voidPackWriter. setShallowPack(int depth, java.util.Collection<? extends ObjectId> unshallow)Configure this pack for a shallow clone.voidPackWriter. setTagTargets(java.util.Set<ObjectId> objects)Set the tag targets that should be hoisted earlier during packing.Constructor parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectId Constructor Description CommitSelectionHelper(java.util.Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, java.util.List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, java.util.List<BitmapCommit> reuse)PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, java.util.Set<? extends ObjectId> want, PackConfig config) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.reftable
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.reftable Modifier and Type Class Description private static classReftableWriter.RefListFields in org.eclipse.jgit.internal.storage.reftable declared as ObjectId Modifier and Type Field Description private ObjectIdReftableReader.ObjCursorImpl. match(package private) ObjectIdBlockWriter.LogEntry. newId(package private) ObjectIdBlockWriter.LogEntry. oldIdMethods in org.eclipse.jgit.internal.storage.reftable that return ObjectId Modifier and Type Method Description private ObjectIdBlockReader. readValueId()private static ObjectIdReftableDatabase. toId(Ref ref)Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId Modifier and Type Method Description java.util.Set<Ref>ReftableDatabase. getTipsWithSha1(ObjectId id)Returns all refs that resolve directly to the givenObjectId.private voidReftableWriter. indexId(ObjectId id, long blockPos)private static byte[]BlockWriter.ObjEntry. key(int idLen, ObjectId id)(package private) voidReftableOutputStream. writeId(ObjectId id)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.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId Constructor Description LogEntry(java.lang.String refName, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.String message)ObjEntry(int idLen, ObjectId id, LongList blockPos) -
Uses of ObjectId in org.eclipse.jgit.internal.transport.connectivity
Fields in org.eclipse.jgit.internal.transport.connectivity with type parameters of type ObjectId Modifier and Type Field Description private java.util.Set<ObjectId>IterativeConnectivityChecker. forcedHavesMethods in org.eclipse.jgit.internal.transport.connectivity that return types with arguments of type ObjectId Modifier and Type Method Description private static java.util.Set<ObjectId>IterativeConnectivityChecker. extractAdvertisedParentCommits(java.util.Set<ObjectId> newRefs, java.util.Set<ObjectId> advertisedHaves, RevWalk rw)private static java.util.stream.Stream<ObjectId>IterativeConnectivityChecker. getAllObjectIds(java.util.List<ReceiveCommand> commands)Method parameters in org.eclipse.jgit.internal.transport.connectivity with type arguments of type ObjectId Modifier and Type Method Description voidFullConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> haves, ProgressMonitor pm)voidIterativeConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> advertisedHaves, ProgressMonitor pm)private static java.util.Set<ObjectId>IterativeConnectivityChecker. extractAdvertisedParentCommits(java.util.Set<ObjectId> newRefs, java.util.Set<ObjectId> advertisedHaves, RevWalk rw)private booleanFullConnectivityChecker. markStartAndKnownNodes(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, ObjectWalk ow, java.util.Set<ObjectId> haves, ProgressMonitor pm)voidIterativeConnectivityChecker. setForcedHaves(java.util.Set<ObjectId> forcedHaves)Sets additional haves that client can depend on (e.g. -
Uses of ObjectId in org.eclipse.jgit.junit
Fields in org.eclipse.jgit.junit declared as ObjectId Modifier and Type Field Description private ObjectIdTestRepository.CommitBuilder. topLevelTreeMethods in org.eclipse.jgit.junit that return ObjectId Modifier and Type Method Description ObjectIdTestRepository. lightweightTag(java.lang.String name, ObjectId obj)Tag an object using a lightweight tag.ObjectIdTestRepository. unparsedCommit(int secDelta, RevTree tree, ObjectId... parents)Create a new, unparsed commit.ObjectIdTestRepository. unparsedCommit(ObjectId... parents)Create a new, unparsed commit.Methods in org.eclipse.jgit.junit with parameters of type ObjectId Modifier and Type Method Description protected voidRepositoryTestCase. createBranch(ObjectId objectId, java.lang.String branchName)Create a branchObjectIdTestRepository. lightweightTag(java.lang.String name, ObjectId obj)Tag an object using a lightweight tag.TestRepository.CommitBuilderTestRepository.CommitBuilder. setTopLevelTree(ObjectId treeId)Set top level treeObjectIdTestRepository. unparsedCommit(int secDelta, RevTree tree, ObjectId... parents)Create a new, unparsed commit.ObjectIdTestRepository. unparsedCommit(ObjectId... parents)Create a new, unparsed commit. -
Uses of ObjectId in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib with type parameters of type ObjectId Modifier and Type Interface Description interfaceAsyncObjectLoaderQueue<T extends ObjectId>Queue to open objects asynchronously.interfaceAsyncObjectSizeQueue<T extends ObjectId>Queue to examine object sizes asynchronously.classObjectIdSubclassMap<V extends ObjectId>Fast, efficient map specifically forObjectIdsubclasses.Subclasses of ObjectId in org.eclipse.jgit.lib Modifier and Type Class Description static classObjectIdOwnerMap.EntryType of entry stored in theObjectIdOwnerMap.Fields in org.eclipse.jgit.lib declared as ObjectId Modifier and Type Field Description static ObjectIdConstants. EMPTY_BLOB_IDWell-known object ID for the empty blob.private static ObjectId[]CommitBuilder. EMPTY_OBJECTID_LISTstatic ObjectIdConstants. EMPTY_TREE_IDWell-known object ID for the empty tree.private ObjectIdRefUpdate. expValueIf non-null, the valueRefUpdate.oldValuemust have to continue.private ObjectIdRefUpdate. newValueNew value the caller wants this ref to have.private ObjectIdTagBuilder. objectprivate ObjectIdObjectIdRef. objectIdprivate ObjectIdRefUpdate. oldValueOld value of the ref, obtained after we lock it.private ObjectId[]CommitBuilder. parentIdsprivate ObjectIdObjectIdRef.PeeledTag. peeledObjectId(package private) V[]ObjectIdSubclassMap. tableprivate ObjectIdCommitBuilder. treeIdprivate static ObjectIdObjectId. ZEROIDMethods in org.eclipse.jgit.lib with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.Filter. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)<T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader. getObjectSize(java.lang.Iterable<T> objectIds, boolean reportMissing)Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>ObjectReader.Filter. open(java.lang.Iterable<T> objectIds, boolean reportMissing)<T extends ObjectId>
AsyncObjectLoaderQueue<T>ObjectReader. open(java.lang.Iterable<T> objectIds, boolean reportMissing)Asynchronous object opening.Methods in org.eclipse.jgit.lib that return ObjectId Modifier and Type Method Description ObjectIdTreeFormatter. computeId(ObjectInserter ins)Compute the ObjectId for this treeObjectIdAnyObjectId. copy()Obtain an immutable copy of this current object name value.private V[]ObjectIdSubclassMap. createArray(int sz)private static ObjectIdObjectId. fromHexString(byte[] bs, int p)static ObjectIdObjectId. fromRaw(byte[] bs)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(byte[] bs, int p)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(int[] is)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(int[] is, int p)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromString(byte[] buf, int offset)Convert an ObjectId from hex characters (US-ASCII).static ObjectIdObjectId. fromString(java.lang.String str)Convert an ObjectId from hex characters.ObjectIdRefUpdate. getExpectedOldObjectId()Get the expected value of the ref after the lock is taken, but before update occurs.ObjectIdReflogEntry. getNewId()Get the commit id after the changeObjectIdRefUpdate. getNewObjectId()Get the new value the ref will be (or was) updated to.ObjectIdAsyncObjectLoaderQueue. getObjectId()Get the ObjectId of the current object.ObjectIdAsyncObjectSizeQueue. getObjectId()Get the ObjectId of the current object.abstract ObjectIdBitmapObject. getObjectId()Get the name of this object.ObjectIdObjectIdRef. getObjectId()Cached value of this ref.ObjectIdRef. getObjectId()Cached value of this ref.ObjectIdSymbolicRef. getObjectId()Cached value of this ref.ObjectIdTagBuilder. getObjectId()Get the object this tag refers to.ObjectIdReflogEntry. getOldId()Get the commit id before the changeObjectIdRefUpdate. getOldObjectId()The old value of the ref, prior to the update being attempted.ObjectId[]CommitBuilder. getParentIds()Get the ancestors of this commit.ObjectIdObjectIdRef.PeeledNonTag. getPeeledObjectId()ObjectIdObjectIdRef.PeeledTag. getPeeledObjectId()ObjectIdObjectIdRef.Unpeeled. getPeeledObjectId()ObjectIdRef. getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).ObjectIdSymbolicRef. getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).ObjectIdCommitBuilder. getTreeId()Get id of the root tree listing this commit's snapshot.private ObjectIdObjectChecker. idFor(int objType, byte[] raw)ObjectIdObjectInserter.Filter. idFor(int type, byte[] data)ObjectIdObjectInserter.Filter. idFor(int type, byte[] data, int off, int len)ObjectIdObjectInserter.Filter. idFor(int objectType, long length, java.io.InputStream in)ObjectIdObjectInserter.Filter. idFor(TreeFormatter formatter)ObjectIdObjectInserter. idFor(int type, byte[] data)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(int type, byte[] data, int off, int len)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(int objectType, long length, java.io.InputStream in)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(TreeFormatter formatter)Compute the ObjectId for the given tree without inserting it.ObjectIdObjectInserter.Filter. insert(int type, byte[] data)ObjectIdObjectInserter.Filter. insert(int type, byte[] data, int off, int len)ObjectIdObjectInserter.Filter. insert(int objectType, long length, java.io.InputStream in)ObjectIdObjectInserter.Formatter. insert(int objectType, long length, java.io.InputStream in)ObjectIdObjectInserter. insert(int type, byte[] data)Insert a single object into the store, returning its unique name.ObjectIdObjectInserter. insert(int type, byte[] data, int off, int len)Insert a single object into the store, returning its unique name.abstract ObjectIdObjectInserter. insert(int objectType, long length, java.io.InputStream in)Insert a single object into the store, returning its unique name.ObjectIdObjectInserter. insert(CommitBuilder builder)Insert a single commit into the store, returning its unique name.ObjectIdObjectInserter. insert(TagBuilder builder)Insert a single annotated tag into the store, returning its unique name.ObjectIdObjectInserter. insert(TreeFormatter formatter)Insert a single tree into the store, returning its unique name.ObjectIdTreeFormatter. insertTo(ObjectInserter ins)Insert this tree and obtain its ObjectId.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.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.static ObjectIdObjectIdSerializer. readWithoutMarker(java.io.InputStream in)Read a non-nullObjectIdfrom the stream.ObjectIdRepository. resolve(java.lang.String revstr)Parse a git revision string and return an object id.private ObjectIdRepository. resolveAbbreviation(java.lang.String revstr)private ObjectIdRepository. resolveSimple(java.lang.String revstr)ObjectIdAbbreviatedObjectId. toObjectId()A complete ObjectId; null ifAbbreviatedObjectId.isComplete()is falseabstract ObjectIdAnyObjectId. toObjectId()Obtain an immutable copy of this current object name value.ObjectIdMutableObjectId. toObjectId()Obtain an immutable copy of this current object name value.ObjectIdObjectId. toObjectId()Obtain an immutable copy of this current object name value.static ObjectIdObjectId. zeroId()Get the special all-null ObjectId.Methods in org.eclipse.jgit.lib that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>Repository. getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().java.util.Set<ObjectId>ObjectReader.Filter. getShallowCommits()abstract java.util.Set<ObjectId>ObjectReader. getShallowCommits()Returns IDs for those commits which should be considered as shallow.java.util.List<ObjectId>Repository. readMergeHeads()Return the information stored in the file $GIT_DIR/MERGE_HEAD.java.util.Collection<ObjectId>ObjectReader.Filter. resolve(AbbreviatedObjectId id)abstract java.util.Collection<ObjectId>ObjectReader. resolve(AbbreviatedObjectId id)Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.lib with parameters of type ObjectId Modifier and Type Method Description java.util.Set<Ref>RefDatabase. getTipsWithSha1(ObjectId id)Returns all refs that resolve directly to the givenObjectId.private static booleanBatchRefUpdate. isMissing(RevWalk walk, ObjectId id)protected voidRefUpdate. setOldObjectId(ObjectId old)Set the old value of the ref.voidCommitBuilder. setParentIds(ObjectId... newParents)Set the parents of this commit.static java.lang.StringObjectId. toString(ObjectId i)Convert an ObjectId into a hex string representation.voidRepository. writeCherryPickHead(ObjectId head)Write cherry pick commit into $GIT_DIR/CHERRY_PICK_HEAD.voidRepository. writeOrigHead(ObjectId head)Write original HEAD commit into $GIT_DIR/ORIG_HEAD.voidRepository. writeRevertHead(ObjectId head)Write revert commit into $GIT_DIR/REVERT_HEAD.Method parameters in org.eclipse.jgit.lib with type arguments of type ObjectId Modifier and Type Method Description private voidRepository. writeHeadsFile(java.util.List<? extends ObjectId> heads, java.lang.String filename)Write the given heads to a file in the git directory.voidRepository. writeMergeHeads(java.util.List<? extends ObjectId> heads)Write new merge-heads into $GIT_DIR/MERGE_HEAD.Constructors in org.eclipse.jgit.lib with parameters of type ObjectId Constructor Description IndexDiff(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator)Construct an IndexdiffObjectIdRef(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 ObjectId in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectId Modifier and Type Field Description private ObjectIdThreeWayMerger. baseCommitIdprotected ObjectIdResolveMerger. resultTreemerge result as treeprivate ObjectIdStrategySimpleTwoWayInCore.InCoreMerger. resultTreeMethods in org.eclipse.jgit.merge that return ObjectId Modifier and Type Method Description abstract ObjectIdMerger. getBaseCommitId()Get the ID of the commit that was used as merge base for mergingObjectIdStrategyOneSided.OneSide. getBaseCommitId()ObjectIdThreeWayMerger. getBaseCommitId()Get the ID of the commit that was used as merge base for mergingabstract ObjectIdMerger. getResultTreeId()Get resulting tree.ObjectIdResolveMerger. getResultTreeId()Get resulting tree.ObjectIdStrategyOneSided.OneSide. getResultTreeId()ObjectIdStrategySimpleTwoWayInCore.InCoreMerger. getResultTreeId()private ObjectIdResolveMerger. insertMergeResult(TemporaryBuffer buf, Attributes attributes)Methods in org.eclipse.jgit.merge with parameters of type ObjectId Modifier and Type Method Description private RevCommitRecursiveMerger. createCommitForTree(ObjectId tree, java.util.List<RevCommit> parents)Create a new commit by explicitly specifying the content tree and the parents.private RawTextResolveMerger. getRawText(ObjectId id, Attributes attributes) -
Uses of ObjectId in org.eclipse.jgit.notes
Subclasses of ObjectId in org.eclipse.jgit.notes Modifier and Type Class Description (package private) classNonNoteEntryA tree entry found in a note branch that isn't a valid note.classNoteIn-memory representation of a single note attached to one object.Fields in org.eclipse.jgit.notes declared as ObjectId Modifier and Type Field Description private ObjectIdNote. dataprivate ObjectIdFanoutBucket.LazyNoteBucket. treeIdMethods in org.eclipse.jgit.notes that return ObjectId Modifier and Type Method Description ObjectIdNoteMap. get(AnyObjectId id)Lookup a note for a specific ObjectId.ObjectIdNote. getData()Get the note content.(package private) ObjectIdFanoutBucket. getTreeId()(package private) ObjectIdFanoutBucket.LazyNoteBucket. getTreeId()(package private) ObjectIdLeafBucket. getTreeId()(package private) abstract ObjectIdNoteBucket. getTreeId()private ObjectIdNoteMapMerger. write(NonNoteEntry list)(package private) ObjectIdFanoutBucket.LazyNoteBucket. writeTree(ObjectInserter inserter)(package private) ObjectIdFanoutBucket. writeTree(ObjectInserter inserter)(package private) ObjectIdLeafBucket. writeTree(ObjectInserter inserter)(package private) abstract ObjectIdNoteBucket. writeTree(ObjectInserter inserter)ObjectIdNoteMap. writeTree(ObjectInserter inserter)Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectId Modifier and Type Method Description private voidNoteMap. load(ObjectId rootTree)(package private) static InMemoryNoteBucketNoteParser. parse(AbbreviatedObjectId prefix, ObjectId treeId, ObjectReader reader)Parse a tree object into aNoteBucketinstance.static NoteMapNoteMap. readTree(ObjectReader reader, ObjectId treeId)Load a collection of notes from a tree.voidNoteMap. set(AnyObjectId noteOn, ObjectId noteData)Attach (or remove) a note on an object.(package private) voidFanoutBucket. setBucket(int cell, ObjectId id)(package private) voidNote. setData(ObjectId newData)Constructors in org.eclipse.jgit.notes with parameters of type ObjectId Constructor Description LazyNoteBucket(ObjectId treeId)Note(AnyObjectId noteOn, ObjectId noteData)A Git note about the object referenced bynoteOn.NoteParser(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t) -
Uses of ObjectId in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as ObjectId Modifier and Type Field Description private ObjectIdTag. objectprivate ObjectIdArchive. treeprivate ObjectIdDescribe. treeFields in org.eclipse.jgit.pgm with type parameters of type ObjectId Modifier and Type Field Description private java.util.List<ObjectId>RevParse. commitsMethods in org.eclipse.jgit.pgm that return ObjectId Modifier and Type Method Description (package private) ObjectIdTextBuiltin. resolve(java.lang.String s)Methods in org.eclipse.jgit.pgm with parameters of type ObjectId Modifier and Type Method Description private static java.lang.StringAbstractFetchCommand. safeAbbreviate(ObjectReader reader, ObjectId id)private static java.lang.StringPush. safeAbbreviate(ObjectReader reader, ObjectId id) -
Uses of ObjectId in org.eclipse.jgit.pgm.debug
Fields in org.eclipse.jgit.pgm.debug declared as ObjectId Modifier and Type Field Description (package private) ObjectIdRebuildCommitGraph.ToRewrite. newId(package private) ObjectIdWriteReftable.LogEntry. newIdprivate ObjectIdShowPackDelta. objectId(package private) ObjectIdRebuildCommitGraph.ToRewrite. oldId(package private) ObjectIdWriteReftable.LogEntry. oldId(package private) ObjectId[]RebuildCommitGraph.ToRewrite. oldParentsFields in org.eclipse.jgit.pgm.debug with type parameters of type ObjectId Modifier and Type Field Description private java.util.Map<ObjectId,ObjectId>RebuildCommitGraph. rewritesprivate java.util.Map<ObjectId,ObjectId>RebuildCommitGraph. rewritesMethods in org.eclipse.jgit.pgm.debug that return ObjectId Modifier and Type Method Description private static ObjectIdWriteReftable. parseId(java.lang.String s)Methods in org.eclipse.jgit.pgm.debug that return types with arguments of type ObjectId Modifier and Type Method Description private static java.util.Map<ObjectId,java.util.List<Ref>>VerifyReftable. groupById(java.util.List<Ref> refs)Methods in org.eclipse.jgit.pgm.debug with parameters of type ObjectId Modifier and Type Method Description private voidBenchmarkReftable. byIdCold(ObjectId id)private voidBenchmarkReftable. byIdHot(ObjectId id)private static java.lang.StringVerifyReftable. id(ObjectId id)Constructors in org.eclipse.jgit.pgm.debug with parameters of type ObjectId Constructor Description LogEntry(java.lang.String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, java.lang.String message)ToRewrite(ObjectId o, long t, ObjectId[] p) -
Uses of ObjectId in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type ObjectId Constructor Description ObjectIdHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super ObjectId> setter)Create a new handler for the command name. -
Uses of ObjectId in org.eclipse.jgit.revplot
Subclasses of ObjectId in org.eclipse.jgit.revplot Modifier and Type Class Description classPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG. -
Uses of ObjectId in org.eclipse.jgit.revwalk
Subclasses of ObjectId in org.eclipse.jgit.revwalk Modifier and Type Class Description static classDepthWalk.CommitRevCommit with a depth (in commits) from a root.classRevBlobA binary file, or a symbolic link.classRevCommitA commit reference to a commit in the DAG.classRevObjectBase object type accessed during revision walking.classRevTagAn annotated tag.classRevTreeA reference to a tree of subtrees/files.Fields in org.eclipse.jgit.revwalk with type parameters of type ObjectId Modifier and Type Field Description private java.util.List<ObjectId>DepthWalk.ObjectWalk. deepenNotsprivate java.util.List<ObjectId>DepthWalk.RevWalk. deepenNotsMethods in org.eclipse.jgit.revwalk with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncRevObjectQueueRevWalk. parseAny(java.lang.Iterable<T> objectIds, boolean reportMissing)Asynchronous object parsing.Methods in org.eclipse.jgit.revwalk that return ObjectId Modifier and Type Method Description ObjectIdRevObject. getId()Get the name of this object.Methods in org.eclipse.jgit.revwalk that return types with arguments of type ObjectId Modifier and Type Method Description default java.util.List<ObjectId>DepthWalk. getDeepenNots()java.util.List<ObjectId>DepthWalk.ObjectWalk. getDeepenNots()java.util.List<ObjectId>DepthWalk.RevWalk. getDeepenNots()Methods in org.eclipse.jgit.revwalk with parameters of type ObjectId Modifier and Type Method Description private voidTreeRevFilter. updateFollowFilter(ObjectId[] trees, DiffConfig cfg)Method parameters in org.eclipse.jgit.revwalk with type arguments of type ObjectId Modifier and Type Method Description voidRevWalk. assumeShallow(java.util.Collection<? extends ObjectId> ids)Assume additional commits are shallow (have no parents).BitmapIndex.BitmapBuilderBitmapWalker. findObjects(java.lang.Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissing)Return, as a bitmap, the objects reachable from the objects in start.private BitmapIndex.BitmapBuilderBitmapWalker. findObjectsWalk(java.lang.Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissingStart)voidDepthWalk.RevWalk. setDeepenNots(java.util.List<ObjectId> deepenNots)Mark objects that the client specified using --shallow-exclude. -
Uses of ObjectId in org.eclipse.jgit.storage.file
Fields in org.eclipse.jgit.storage.file declared as ObjectId Modifier and Type Field Description private ObjectIdFileBasedConfig. hashMethods in org.eclipse.jgit.storage.file that return ObjectId Modifier and Type Method Description private static ObjectIdFileBasedConfig. hash(byte[] rawText) -
Uses of ObjectId in org.eclipse.jgit.storage.pack
Fields in org.eclipse.jgit.storage.pack with type parameters of type ObjectId Modifier and Type Field Description java.util.Set<ObjectId>PackStatistics.Accumulator. clientShallowCommitsThe set of shallow commits on the client.java.util.Set<ObjectId>PackStatistics.Accumulator. interestingObjectsThe set of objects to be included in the pack.java.util.Set<ObjectId>PackStatistics.Accumulator. rootCommitsCommits with no parents.java.util.Set<ObjectId>PackStatistics.Accumulator. uninterestingObjectsThe set of objects to be excluded from the pack.Methods in org.eclipse.jgit.storage.pack that return types with arguments of type ObjectId Modifier and Type Method Description java.util.Set<ObjectId>PackStatistics. getClientShallowCommits()Get unmodifiable collection of objects that were shallow commits on the client.java.util.Set<ObjectId>PackStatistics. getInterestingObjects()Get unmodifiable collection of objects to be included in the pack.java.util.Set<ObjectId>PackStatistics. getRootCommits()Get unmodifiable collection of the root commits of the history.java.util.Set<ObjectId>PackStatistics. getUninterestingObjects()Get unmodifiable collection of objects that should be excluded from the pack -
Uses of ObjectId in org.eclipse.jgit.submodule
Fields in org.eclipse.jgit.submodule declared as ObjectId Modifier and Type Field Description private ObjectIdSubmoduleStatus. headIdprivate ObjectIdSubmoduleStatus. indexIdprivate ObjectIdSubmoduleConflict. objectIdMethods in org.eclipse.jgit.submodule that return ObjectId Modifier and Type Method Description ObjectIdSubmoduleWalk. getHead()Get commit id that HEAD points to in the current submodule's repositoryObjectIdSubmoduleStatus. getHeadId()Get HEAD object idObjectIdSubmoduleStatus. getIndexId()Get index object idObjectIdSubmoduleConflict. getObjectId()ObjectIdSubmoduleWalk. getObjectId()Get object id of current submodule entryConstructors in org.eclipse.jgit.submodule with parameters of type ObjectId Constructor Description SubmoduleConflict(ObjectId objectId)Create a SubmoduleConflict for the given submodule object idSubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId)Create submodule statusSubmoduleStatus(SubmoduleStatusType type, java.lang.String path, ObjectId indexId, ObjectId headId)Create submodule status -
Uses of ObjectId in org.eclipse.jgit.transport
Subclasses of ObjectId in org.eclipse.jgit.transport Modifier and Type Class Description classPackedObjectInfoDescription of an object stored in a pack file, including offset.private static classPackParser.DeltaChainFields in org.eclipse.jgit.transport declared as ObjectId Modifier and Type Field Description private ObjectIdRemoteRefUpdate. expectedOldObjectId(package private) ObjectIdPackParser.DeltaVisit. idprivate ObjectIdReceiveCommand. newIdprivate ObjectIdRemoteRefUpdate. newObjectId(package private) ObjectIdTrackingRefUpdate. newObjectId(package private) ObjectIdFetchHeadRecord. newValueprivate ObjectIdReceiveCommand. oldId(package private) ObjectIdTrackingRefUpdate. oldObjectIdFields in org.eclipse.jgit.transport with type parameters of type ObjectId Modifier and Type Field Description protected java.util.Set<ObjectId>BasePackConnection. additionalHavesExtra objects the remote has, but which aren't offered as refs.private java.util.Set<ObjectId>UploadPack. advertisedObjects we sent in our advertisement list.private java.util.Set<ObjectId>ReceivePack. advertisedHavesAll SHA-1s shown to the client, which can be possible edges.private java.util.HashMap<ObjectId,Ref>FetchProcess. askForSet of refs we will actually wind up asking to obtain.private ObjectIdSubclassMap<ObjectId>PackParser. baseObjectIdsObjects referenced by their name from deltas, that aren't in this pack.(package private) java.util.Set<ObjectId>FetchRequest. clientShallowCommits(package private) java.util.Set<ObjectId>FetchV0Request.Builder. clientShallowCommits(package private) java.util.Set<ObjectId>FetchV2Request.Builder. clientShallowCommitsprivate java.util.Set<ObjectId>ReceivePack. clientShallowCommitsprivate java.util.HashMap<ObjectId,java.util.List<java.lang.Throwable>>WalkFetchConnection. fetchErrorsErrors received while trying to obtain an object.private java.util.HashSet<ObjectId>FetchProcess. haveObjects we know we have locally.private java.util.Map<java.lang.String,ObjectId>BundleWriter. includeprivate ObjectIdSubclassMap<ObjectId>PackParser. newObjectIdsEvery object contained within the incoming pack.(package private) java.util.List<ObjectId>FetchV2Request.Builder. peerHasprivate java.util.List<ObjectId>FetchV2Request. peerHas(package private) java.util.Map<ObjectId,java.lang.String>BundleFetchConnection. prereqsprivate java.util.Set<ObjectId>RefAdvertiser. sentprivate java.util.Set<ObjectId>BundleWriter. tagTargets(package private) java.util.Set<ObjectId>FetchRequest. wantIds(package private) java.util.Set<ObjectId>FetchV0Request.Builder. wantIds(package private) java.util.Set<ObjectId>FetchV2Request.Builder. wantIdsprivate java.util.Set<ObjectId>UploadPack. wantIdsRaw ObjectIds the client has asked for, before validating them.private java.util.LinkedList<ObjectId>WalkFetchConnection. workQueueObjects we need to copy from the remote repository.Methods in org.eclipse.jgit.transport that return ObjectId Modifier and Type Method Description ObjectIdRemoteRefUpdate. getExpectedOldObjectId()Get expected old object idObjectIdReceiveCommand. getNewId()Get the requested new value for this ref.ObjectIdRemoteRefUpdate. getNewObjectId()Get new object idObjectIdTrackingRefUpdate. getNewObjectId()Get the new value the ref will be (or was) updated to.ObjectIdReceiveCommand. getOldId()Get the old value the client thinks the ref has.ObjectIdTrackingRefUpdate. getOldObjectId()The old value of the ref, prior to the update being attempted.private ObjectIdUploadPack. processHaveLines(java.util.List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator)private static ObjectIdUploadPack. refToObjectId(Ref ref)private ObjectIdPushCertificateStore. saveCert(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr)private ObjectIdBasePackConnection. toId(java.lang.String line, java.lang.String value)private ObjectIdPushCertificateStore. write()Methods in org.eclipse.jgit.transport that return types with arguments of type ObjectId Modifier and Type Method Description protected java.util.Set<ObjectId>AbstractAdvertiseRefsHook. getAdvertisedHaves(Repository repository, RevWalk revWalk)Get the additional haves to advertise.java.util.Set<ObjectId>ReceivePack. getAdvertisedObjects()Get objects advertised to the client.ObjectIdSubclassMap<ObjectId>PackParser. getBaseObjectIds()Get set of objects the incoming pack assumed for delta purposes(package private) java.util.Set<ObjectId>FetchRequest. getClientShallowCommits()Shallow commits the client already has.private java.util.Set<ObjectId>ReceivePack. getClientShallowCommits()Get the commits from the client's shallow file.ObjectIdSubclassMap<ObjectId>PackParser. getNewObjectIds()Get the new objects that were sent by the user(package private) java.util.List<ObjectId>FetchV2Request. getPeerHas()(package private) java.util.Set<ObjectId>FetchRequest. getWantIds()private static java.util.Set<ObjectId>UploadPack. refIdSet(java.util.Collection<Ref> refs)java.util.Set<ObjectId>RefAdvertiser. send(java.util.Collection<Ref> refs)Format an advertisement for the supplied refs.java.util.Set<ObjectId>RefAdvertiser. send(java.util.Map<java.lang.String,Ref> refs)Deprecated.useRefAdvertiser.send(Collection)instead.private java.util.Iterator<ObjectId>WalkFetchConnection. swapFetchQueue()private java.util.Map<java.lang.String,ObjectId>UploadPack. wantedRefs(FetchV2Request req)Methods in org.eclipse.jgit.transport with parameters of type ObjectId Modifier and Type Method Description (package private) FetchV0Request.BuilderFetchV0Request.Builder. addClientShallowCommit(ObjectId shallowOid)(package private) FetchV2Request.BuilderFetchV2Request.Builder. addClientShallowCommit(ObjectId shallowOid)(package private) FetchV2Request.BuilderFetchV2Request.Builder. addPeerHas(ObjectId objectId)(package private) FetchV0Request.BuilderFetchV0Request.Builder. addWantId(ObjectId objectId)(package private) FetchV2Request.BuilderFetchV2Request.Builder. addWantId(ObjectId wantId)private TrackingRefUpdateFetchProcess. createUpdate(RefSpec spec, ObjectId newId)static ReceiveCommandReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)Create a command to switch a reference from object to symbolic.private booleanFetchProcess. localHasObject(ObjectId id)protected PackedObjectInfoPackParser. newInfo(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase)Construct a PackedObjectInfo instance for this parser.private 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.private voidBasePackFetchConnection. parseReachable(ObjectId id)private voidWalkFetchConnection. process(ObjectId id)private ObjectIdUploadPack. processHaveLines(java.util.List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator)private voidBasePackConnection. processLineV1(java.lang.String name, ObjectId id, java.util.Map<java.lang.String,Ref> avail)private voidBasePackConnection. processLineV2(java.lang.String line, ObjectId id, java.lang.String rest, java.util.Map<java.lang.String,Ref> avail, java.util.Map<java.lang.String,java.lang.String> symRefs)private voidFetchProcess. removeFetchHeadRecord(ObjectId want)private voidFetchProcess. removeTrackingRefUpdate(ObjectId want)private ObjectIdPushCertificateStore. saveCert(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr)(package private) voidRemoteRefUpdate. setExpectedOldObjectId(ObjectId id)static ReceiveCommandReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)Create a command to switch a reference from symbolic to object.private RefUpdate.ResultPushCertificateStore. updateRef(ObjectId newId)private voidFetchProcess. want(ObjectId id)(package private) voidWalkRemoteObjectDatabase. writeRef(java.lang.String name, ObjectId value)Overwrite (or create) a loose ref in the remote repository.Method parameters in org.eclipse.jgit.transport with type arguments of type ObjectId Modifier and Type Method Description voidConnectivityChecker. checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, java.util.Set<ObjectId> haves, ProgressMonitor pm)Checks connectivity of the commit graph after pack uploading.private static voidUploadPack. checkNotAdvertisedWants(UploadPack up, java.util.List<ObjectId> notAdvertisedWants, java.util.Collection<Ref> visibleRefs)voidUploadPack.AdvertisedRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)voidUploadPack.AnyRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)voidUploadPack.ReachableCommitRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)voidUploadPack.ReachableCommitTipRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)voidUploadPack.RequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)Check a list of client wants against the request policy.voidUploadPack.TipRequestValidator. checkWants(UploadPack up, java.util.List<ObjectId> wants)private voidUploadPack. computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, java.util.List<ObjectId> deepenNots)private voidUploadPack. computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, java.util.List<ObjectId> deepenNots)protected abstract voidBaseFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidBasePackFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)Execute common ancestor negotiation and fetch the objects.protected voidBundleFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidTransportHttp.SmartHttpFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)protected voidWalkFetchConnection. doFetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.voidBaseFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Fetch objects we don't have but that are reachable from advertised refs.voidBaseFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream out)Fetch objects we don't have but that are reachable from advertised refs.voidBasePackFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Fetch objects we don't have but that are reachable from advertised refs.voidBasePackFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream outputStream)Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have)Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection. fetch(ProgressMonitor monitor, java.util.Collection<Ref> want, java.util.Set<ObjectId> have, java.io.OutputStream out)Fetch objects we don't have but that are reachable from advertised refs.private voidWalkFetchConnection. markLocalRefsComplete(java.util.Set<ObjectId> have)private voidBasePackFetchConnection. markReachable(java.util.Set<ObjectId> have, int maxTime)private static java.util.List<RevObject>UploadPack. objectIdsToRevObjects(RevWalk walk, java.lang.Iterable<ObjectId> objectIds)voidPreUploadHook. onBeginNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntOffered)Invoked before negotiation round is started.voidPreUploadHookChain. onBeginNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntOffered)Invoked before negotiation round is started.voidPreUploadHook. onEndNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready)Invoked after a negotiation round is completed.voidPreUploadHookChain. onEndNegotiateRound(UploadPack up, java.util.Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready)Invoked after a negotiation round is completed.voidPreUploadHook. onSendPack(UploadPack up, java.util.Collection<? extends ObjectId> wants, java.util.Collection<? extends ObjectId> haves)Invoked just before a pack will be sent to the client.voidPreUploadHookChain. onSendPack(UploadPack up, java.util.Collection<? extends ObjectId> wants, java.util.Collection<? extends ObjectId> haves)Invoked just before a pack will be sent to the client.private ObjectIdUploadPack. processHaveLines(java.util.List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator)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.voidReceivePack. setAdvertisedRefs(java.util.Map<java.lang.String,Ref> allRefs, java.util.Set<ObjectId> additionalHaves)Set the refs advertised by this ReceivePack.private voidUploadPack. verifyClientShallow(java.util.Set<ObjectId> shallowCommits)Constructors in org.eclipse.jgit.transport with parameters of type ObjectId Constructor Description ReceiveCommand(java.lang.String oldSymref, ObjectId newId, java.lang.String name)Create a command to switch a reference from symbolic to object.ReceiveCommand(ObjectId oldId, java.lang.String newSymref, java.lang.String name)Create a command to switch a reference from object to symbolic.ReceiveCommand(ObjectId oldId, ObjectId newId, java.lang.String name)Create a new command forReceivePack.ReceiveCommand(ObjectId oldId, ObjectId newId, java.lang.String name, ReceiveCommand.Type type)Create a new command forReceivePack.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, ObjectId srcId, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, Ref srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.RemoteRefUpdate(RemoteRefUpdate base, ObjectId newExpectedOldObjectId)Create a new instance of this object basing on existing instance for configuration.Constructor parameters in org.eclipse.jgit.transport with type arguments of type ObjectId 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)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) -
Uses of ObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectId Modifier and Type Method Description ObjectIdAbstractTreeIterator. getEntryObjectId()Get the object id of the current entry.ObjectIdEmptyTreeIterator. getEntryObjectId()Get the object id of the current entry.ObjectIdTreeWalk. getObjectId(int nth)Obtain the ObjectId for the current entry. -
Uses of ObjectId in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return ObjectId Modifier and Type Method Description static ObjectIdChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, java.lang.String message)Compute a Change-Id.Methods in org.eclipse.jgit.util with parameters of type ObjectId Modifier and Type Method Description static ObjectIdChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, java.lang.String message)Compute a Change-Id.static java.lang.StringChangeIdUtil. insertId(java.lang.String message, ObjectId changeId)Find the right place to insert a Change-Id and return it.static java.lang.StringChangeIdUtil. insertId(java.lang.String message, ObjectId changeId, boolean replaceExisting)Find the right place to insert a Change-Id and return it. -
Uses of ObjectId in org.eclipse.jgit.util.sha1
Methods in org.eclipse.jgit.util.sha1 that return ObjectId Modifier and Type Method Description (package private) ObjectIdSHA1.State. toObjectId()ObjectIdSHA1. toObjectId()Finish the digest and return the resulting hash.Constructors in org.eclipse.jgit.util.sha1 with parameters of type ObjectId Constructor Description Sha1CollisionException(ObjectId id)Initialize with default message.
-