Uses of Class
org.eclipse.jgit.lib.ObjectId
Packages that use ObjectId
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by API commands.
Computing blame/annotate information of files.
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Exceptions thrown by lower-level JGit APIs.
Git fsck support.
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
Building/rendering revision graphs.
Walking revision graphs (commit history).
Git submodule support.
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of ObjectId in org.eclipse.jgit.api
Subclasses of ObjectId in org.eclipse.jgit.apiFields in org.eclipse.jgit.api declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdMergeResult.baseprivate ObjectId[]MergeResult.mergedCommitsprivate ObjectIdMergeResult.newHeadprivate ObjectIdBlameCommand.startCommitprivate ObjectIdArchiveCommand.treeFields in org.eclipse.jgit.api with type parameters of type ObjectIdModifier and TypeFieldDescriptionCommitCommand.parentsparents this commit should have.private Collection<ObjectId>BlameCommand.reverseEndCommitsNameRevCommand.revsMethods in org.eclipse.jgit.api that return ObjectIdModifier and TypeMethodDescriptionStashApplyCommand.call()StashDropCommand.call()MergeResult.getBase()Get the common baseObjectId[]MergeResult.getMergedCommits()Get the commits which have been mergedMergeResult.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()private ObjectIdprivate ObjectIdResetCommand.resolveRefToCommitId()Methods in org.eclipse.jgit.api that return types with arguments of type ObjectIdMethods in org.eclipse.jgit.api with parameters of type ObjectIdModifier and TypeMethodDescriptionAdd an object to search for.private voidApplyCommand.applyBinary(Repository repository, String path, File f, FileHeader fh, ApplyCommand.StreamSupplier loader, ObjectId id, DirCacheCheckout.CheckoutMetadata checkOut) private voidCommitCommand.checkIfEmpty(RevWalk rw, ObjectId headId, ObjectId indexTreeId) private voidprivate voidResetCommand.checkoutIndex(ObjectId commitTree) private DirCacheCommitCommand.createTemporaryIndex(ObjectId headId, DirCache index, RevWalk rw) private voidCommitCommand.insertChangeId(ObjectId treeId) private 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, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.private voidResetCommand.resetIndex(ObjectId commitTree) private voidResetCommand.resetIndexForPaths(ObjectId commitTree) Sets the commit to be described.Set the tag, commit, or tree object to produce an archive forprivate voidMergeCommand.updateHead(StringBuilder refLogMessage, ObjectId newHeadId, ObjectId oldHeadID) private voidCommitCommand.updateRef(RepositoryState state, ObjectId headId, RevCommit revCommit, ObjectId commitId) private voidprivate voidRebaseCommand.updateStashRef(ObjectId commitId, PersonIdent refLogIdent, String refLogMessage) private voidStashCreateCommand.updateStashRef(ObjectId commitId, PersonIdent refLogIdent, String refLogMessage) private RefTagCommand.updateTagRef(ObjectId tagId, RevWalk revWalk, String tagName, String newTagToString) Method parameters in org.eclipse.jgit.api with type arguments of type ObjectIdModifier and TypeMethodDescriptionAdd multiple objects to search for.private voidprivate voidNameRevCommand.addPrefixes(Map<ObjectId, String> nonCommits, FIFORevQueue pending) private voidBlameCommand.reverse(AnyObjectId start, Collection<ObjectId> end) Configure the generator to compute reverse blame (history of deletes).Constructors in org.eclipse.jgit.api with parameters of type ObjectIdModifierConstructorDescriptionMergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults) Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults, String description) Constructor for MergeResult.MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String, MergeResult<?>> lowLevelResults, Map<String, ResolveMerger.MergeFailureReason> failingPaths, 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 ObjectIdModifierConstructorDescriptionWrongObjectTypeException(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 ObjectIdModifier and TypeMethodDescriptionvoidTarFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTbz2Format.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTgzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTxzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidZipFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, 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.blameFields in org.eclipse.jgit.blame declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectIdCandidate.sourceBlobUnique name of the candidate blob inCandidate.sourceCommit.Methods in org.eclipse.jgit.blame with parameters of type ObjectIdMethod parameters in org.eclipse.jgit.blame with type arguments of type ObjectIdModifier and TypeMethodDescriptionBlameGenerator.reverse(AnyObjectId start, 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 ObjectIdModifier and TypeMethodDescriptionPatchIdDiffFormatter.getCalulatedPatchId()Should be called after having called one of the format methodsMethods in org.eclipse.jgit.diff with parameters of type ObjectIdModifier and TypeMethodDescriptionabstract ObjectLoaderOpen the object.longabstract longDetermine the size of the object.long -
Uses of ObjectId in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdDirCacheCheckout.headCommitTreeprivate ObjectIdDirCacheTree.idUnique SHA-1 of this tree; null if invalid.private ObjectIdDirCacheCheckout.mergeCommitTree(package private) final ObjectIdDirCacheIterator.LazyLoadingAttributesNode.objectIdMethods in org.eclipse.jgit.dircache that return ObjectIdModifier and TypeMethodDescriptionDirCacheEntry.getObjectId()Obtain the ObjectId for the entry.DirCacheTree.getObjectId()Get the tree's ObjectId.DirCache.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 ObjectIdModifier and TypeMethodDescriptionprivate intprivate booleanDirCacheCheckout.equalIdAndMode(ObjectId id1, FileMode mode1, ObjectId id2, FileMode mode2) Compares whether two pairs of ObjectId and FileMode are equal.private booleanDirCacheCheckout.isModified_IndexTree(String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree) private booleanDirCacheCheckout.isModifiedSubtree_IndexTree(String path, ObjectId tree) Checks whether the subtree starting at a given path differs between Index and some tree.private voidConstructors in org.eclipse.jgit.dircache with parameters of type ObjectIdModifierConstructorDescriptionDirCacheCheckout(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.(package private)LazyLoadingAttributesNode(ObjectId objectId) -
Uses of ObjectId in org.eclipse.jgit.errors
Fields in org.eclipse.jgit.errors declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectIdMissingObjectException.missingprivate ObjectIdLargeObjectException.objectIdFields in org.eclipse.jgit.errors with type parameters of type ObjectIdModifier and TypeFieldDescriptionprivate final Collection<ObjectId>AmbiguousObjectException.candidatesMethods in org.eclipse.jgit.errors that return ObjectIdModifier and TypeMethodDescriptionLargeObjectException.getObjectId()Get identity of the object that is too large; may be nullMissingObjectException.getObjectId()Get the ObjectId that was not foundMethods in org.eclipse.jgit.errors that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionAmbiguousObjectException.getCandidates()Get the matching candidates (or at least a subset of them)Method parameters in org.eclipse.jgit.errors with type arguments of type ObjectIdConstructors in org.eclipse.jgit.errors with parameters of type ObjectIdModifierConstructorDescriptionCorruptObjectException(ObjectId id, 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, 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, String type) Construct a MissingObjectException for the specified object id.Constructor parameters in org.eclipse.jgit.errors with type arguments of type ObjectIdModifierConstructorDescriptionAmbiguousObjectException(AbbreviatedObjectId id, Collection<ObjectId> candidates) Construct a MissingObjectException for the specified object id.MissingBundlePrerequisiteException(URIish uri, Map<ObjectId, 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 ObjectIdModifier and TypeMethodDescriptionRead a remote ref sha1.Methods in org.eclipse.jgit.gitrepo with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate RevCommitBareSuperprojectWriter.commitTreeOnCurrentTip(ObjectInserter inserter, RevWalk rw, ObjectId treeId) -
Uses of ObjectId in org.eclipse.jgit.internal.fsck
Subclasses of ObjectId in org.eclipse.jgit.internal.fsckFields in org.eclipse.jgit.internal.fsck declared as ObjectIdFields in org.eclipse.jgit.internal.fsck with type parameters of type ObjectIdMethods in org.eclipse.jgit.internal.fsck that return ObjectIdMethods in org.eclipse.jgit.internal.fsck that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionFsckError.getMissingObjects()Get missing objects that should present in pack filesConstructors in org.eclipse.jgit.internal.fsck with parameters of type ObjectIdModifierConstructorDescriptionCorruptObject(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 ObjectIdSubclasses of ObjectId in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescription(package private) classprivate static classFields in org.eclipse.jgit.internal.storage.dfs declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectIdDfsObjectRepresentation.baseIdprivate final ObjectIdDfsInserter.StreamLoader.id(package private) final TDfsReader.FoundObject.idFields in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdModifier and TypeFieldDescriptionDfsGarbageCollector.allHeadsAndTagsDfsGarbageCollector.allTagsDfsGarbageCollector.nonHeadsDfsGarbageCollector.tagTargetsMethods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdModifier and TypeMethodDescriptionprivate <T extends ObjectId>
Iterable<DfsReader.FoundObject<T>>private <T extends ObjectId>
voidDfsReader.findAllImpl(DfsObjDatabase.PackList packList, Collection<T> pending, List<DfsReader.FoundObject<T>> r) <T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader.getObjectSize(Iterable<T> objectIds, boolean reportMissing) Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>Asynchronous object opening.Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectIdDfsObjectRepresentation.getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.DfsInserter.insert(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.DfsInserter.insert(int type, long len, 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 ObjectIdModifier and TypeMethodDescriptionDfsInserter.Reader.getShallowCommits()DfsReader.getShallowCommits()Returns IDs for those commits which should be considered as shallow.DfsInserter.Reader.resolve(AbbreviatedObjectId id) DfsReader.resolve(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate ObjectIdprivate longDfsPackFile.findDeltaBase(DfsReader ctx, ObjectId baseId) 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 ObjectIdModifier and TypeMethodDescription(package private) voidDfsPackFile.resolve(DfsReader ctx, Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) private voidDfsReader.resolveImpl(DfsObjDatabase.PackList packList, AbbreviatedObjectId id, HashSet<ObjectId> matches) Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectIdModifierConstructorDescription(package private)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.fileModifier and TypeClassDescription(package private) static final classData representation of the bitmap entry restored from a pack index.private static final classprivate static class(package private) static class(package private) classprivate static final classstatic final classAn entry in the old PackBitmapIndex.Fields in org.eclipse.jgit.internal.storage.file declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdLocalObjectRepresentation.baseIdprivate final ObjectIdRefDirectory.PackedRefList.idprivate final ObjectIdUnpackedObject.LargeObject.idprivate static final 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 ObjectIdModifier and TypeFieldDescriptionprivate final AtomicReferenceArray<ObjectId>UnpackedObjectCache.Table.idsObjectDirectory.shallowCommitsIdsMethods in org.eclipse.jgit.internal.storage.file that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectIdPackInserter.computeName(List<PackedObjectInfo> list) private 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.LocalObjectRepresentation.getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.ReflogEntryImpl.getNewId()Get the commit id after the changeabstract ObjectIdPackBitmapIndex.getObject(int position) Get the object at the bitmap position.PackBitmapIndexBuilder.getObject(int position) Get the object at the bitmap position.PackBitmapIndexRemapper.getObject(int position) Get the object at the bitmap position.PackBitmapIndexV1.getObject(int position) Get the object at the bitmap position.BitmapIndexImpl.BitmapObjectImpl.getObjectId()private ObjectIdLargePackedWholeObject.getObjectId()final 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().PackIndexV1.getObjectId(long nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator().PackIndexV2.getObjectId(long nthPosition) Get ObjectId for the n-th object entry returned byPackIndex.iterator().RefDirectory.LooseUnpeeled.getObjectId()ReflogEntryImpl.getOldId()Get the commit id before the changeObjectDirectoryInserter.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.ObjectDirectoryInserter.insert(int type, long len, InputStream is) Insert a single object into the store, returning its unique name.(package private) ObjectIdObjectDirectoryInserter.insert(int type, long len, InputStream is, boolean createDuplicate) Insert a loose object into the database.PackInserter.insert(int type, byte[] data, int off, int len) Insert a single object into the store, returning its unique name.PackInserter.insert(int type, long len, InputStream in) Insert a single object into the store, returning its unique name.private ObjectIdObjectDirectoryInserter.insertOneObject(File tmp, ObjectId id, boolean createDuplicate) PackIndex.MutableEntry.toObjectId()Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionFileRepository.getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().FileRepository.getAdditionalHaves(Set<ObjectDirectory.AlternateHandle.Id> skips) Objects known to exist but not expressed by#getAllRefs().CachedObjectDirectory.getShallowCommits()FileObjectDatabase.getShallowCommits()ObjectDirectory.getShallowCommits()PackInserter.Reader.getShallowCommits()WindowCursor.getShallowCommits()Returns IDs for those commits which should be considered as shallow.Return a list of those objects in the index which differ from whats in HEADGC.listRefLogObjects(Ref ref, long minTime) PackInserter.Reader.resolve(AbbreviatedObjectId id) WindowCursor.resolve(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate byte[]ReflogWriter.encode(ObjectId oldId, ObjectId newId, PersonIdent ident, String message) private ObjectIdprivate longPack.findDeltaBase(ObjectId baseId) (package private) static InputStreamUnpackedObject.inflate(InputStream in, long size, ObjectId id) (package private) FileObjectDatabase.InsertLooseObjectResultprivate ObjectIdObjectDirectoryInserter.insertOneObject(File tmp, ObjectId id, boolean createDuplicate) (package private) FileObjectDatabase.InsertLooseObjectResultCachedObjectDirectory.insertUnpackedObject(File tmp, ObjectId objectId, boolean createDuplicate) (package private) abstract FileObjectDatabase.InsertLooseObjectResultFileObjectDatabase.insertUnpackedObject(File tmp, ObjectId id, boolean createDuplicate) (package private) FileObjectDatabase.InsertLooseObjectResultObjectDirectory.insertUnpackedObject(File tmp, ObjectId id, boolean createDuplicate) Write the given entry information to the ref's log(package private) static LocalObjectRepresentationvoidWrite an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectIdModifier and TypeMethodDescriptionprivate voidGC.loosen(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, HashSet<ObjectId> existing) Loosen objects in a pack file which are not also in the newly-created pack files.voidLike "git prune" this method tries to prune all loose objects which are unreferenced.private voidGC.removeReferenced(Map<ObjectId, 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(Set<ObjectId> matches, AbbreviatedObjectId id) (package private) abstract voidFileObjectDatabase.resolve(Set<ObjectId> matches, AbbreviatedObjectId id) (package private) booleanLooseObjects.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.(package private) voidObjectDirectory.resolve(Set<ObjectId> matches, AbbreviatedObjectId id) private voidObjectDirectory.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) voidPack.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) (package private) booleanPackDirectory.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.abstract voidPackIndex.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.voidPackIndexV1.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.voidPackIndexV2.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.private PackGC.writePack(Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<ObjectId> tags, Set<ObjectId> tagTargets, List<ObjectIdSet> excludeObjects) Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ObjectIdModifierConstructorDescription(package private)LooseNonTag(FileSnapshot snapshot, String refName, ObjectId id) (package private)LoosePeeledTag(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)LooseUnpeeled(FileSnapshot snapShot, String refName, ObjectId id) privatePackedRefList(RefList<Ref> src, FileSnapshot s, ObjectId i) 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.packModifier and TypeClassDescriptionprivate static classfinal classA commit object for which a bitmap index should be built.classPer-object state used byPackWriter.Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectIdModifier and TypeFieldDescriptionprivate final 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 ObjectIdModifier and TypeFieldDescriptionPackWriter.excludeFromBitmapSelectionPackWriter.DepthAwareVisitationPolicy.lowestDepthVisitedPackWriterBitmapPreparer.CommitSelectionHelper.newWantsPackWriter.NONEEmpty set of objects forpreparePack().PackWriter.tagTargetsprivate Collection<? extends ObjectId>PackWriter.unshallowObjectsPackWriterBitmapPreparer.wantMethods in org.eclipse.jgit.internal.storage.pack that return ObjectIdModifier and TypeMethodDescriptionPackWriter.computeName()Computes SHA-1 of lexicographically sorted objects ids written in this pack, as used to name a pack file in repository.StoredObjectRepresentation.getDeltaBase()Get identity of the object this delta applies to in order to recover the original object content.final 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 ObjectIdModifier and TypeMethodDescription(package private) final voidObjectToPack.setDeltaBase(ObjectId deltaBase) Set delta base for the object.Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectIdModifier and TypeMethodDescriptionPackWriterBitmapPreparer.captureOldAndNewCommits(RevWalk rw, int expectedCommitCount, 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, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> noBitmaps) private voidPackWriter.findObjectsToPackUsingBitmaps(BitmapWalker bitmapWalker, Set<? extends ObjectId> want, Set<? extends ObjectId> have) voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, Set<? extends ObjectId> want, Set<? extends ObjectId> have, Set<? extends ObjectId> shallow, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.voidPackWriter.preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects, Set<? extends ObjectId> noBitmaps) Prepare the list of objects to be written to the pack stream.(package private) Collection<BitmapCommit>PackWriterBitmapPreparer.selectCommits(int expectedCommitCount, Set<? extends ObjectId> excludeFromBitmapSelection) Returns the commit objects for which bitmap indices should be built.voidPackWriter.setClientShallowCommits(Set<ObjectId> clientShallowCommits) Records the set of shallow commits in the client.voidPackWriter.setShallowPack(int depth, Collection<? extends ObjectId> unshallow) Configure this pack for a shallow clone.voidPackWriter.setTagTargets(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 ObjectIdModifierConstructorDescription(package private)CommitSelectionHelper(Set<? extends ObjectId> newWants, RevCommit[] commitsByOldest, int commitStartPos, List<RevCommit> newWantsByNewest, BitmapIndex.BitmapBuilder reusedCommitsBitmap, List<BitmapCommit> reuse) (package private)PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, 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.reftableFields in org.eclipse.jgit.internal.storage.reftable declared as ObjectIdModifier and TypeFieldDescriptionprivate final ObjectIdReftableReader.ObjCursorImpl.match(package private) final ObjectIdBlockWriter.LogEntry.newId(package private) final ObjectIdBlockWriter.LogEntry.oldIdMethods in org.eclipse.jgit.internal.storage.reftable that return ObjectIdModifier and TypeMethodDescriptionprivate ObjectIdBlockReader.readValueId()private static ObjectIdMethods in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectIdModifier and TypeMethodDescriptionReftableDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.private voidprivate static byte[](package private) voidvoidReftableWriter.writeLog(String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, String message) Write one reflog entry to the reftable.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type ObjectId -
Uses of ObjectId in org.eclipse.jgit.internal.transport.connectivity
Fields in org.eclipse.jgit.internal.transport.connectivity with type parameters of type ObjectIdMethods in org.eclipse.jgit.internal.transport.connectivity that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionIterativeConnectivityChecker.extractAdvertisedParentCommits(Set<ObjectId> newRefs, Set<ObjectId> advertisedHaves, RevWalk rw) IterativeConnectivityChecker.getAllObjectIds(List<ReceiveCommand> commands) Method parameters in org.eclipse.jgit.internal.transport.connectivity with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidFullConnectivityChecker.checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) voidIterativeConnectivityChecker.checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> advertisedHaves, ProgressMonitor pm) IterativeConnectivityChecker.extractAdvertisedParentCommits(Set<ObjectId> newRefs, Set<ObjectId> advertisedHaves, RevWalk rw) private booleanFullConnectivityChecker.markStartAndKnownNodes(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, ObjectWalk ow, Set<ObjectId> haves, ProgressMonitor pm) voidIterativeConnectivityChecker.setForcedHaves(Set<ObjectId> forcedHaves) Sets additional haves that client can depend on (e.g. -
Uses of ObjectId in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib with type parameters of type ObjectIdModifier and TypeInterfaceDescriptioninterfaceAsyncObjectLoaderQueue<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.libFields in org.eclipse.jgit.lib declared as ObjectIdModifier and TypeFieldDescriptionstatic final ObjectIdConstants.EMPTY_BLOB_IDWell-known object ID for the empty blob.private static final ObjectId[]CommitBuilder.EMPTY_OBJECTID_LISTstatic final 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 final ObjectIdObjectIdRef.objectIdprivate ObjectIdRefUpdate.oldValueOld value of the ref, obtained after we lock it.private ObjectId[]CommitBuilder.parentIdsprivate final ObjectIdObjectIdRef.PeeledTag.peeledObjectId(package private) V[]ObjectIdSubclassMap.tableprivate ObjectIdCommitBuilder.treeIdprivate static final ObjectIdObjectId.ZEROIDMethods in org.eclipse.jgit.lib with type parameters of type ObjectIdModifier and TypeMethodDescription<T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.Filter.getObjectSize(Iterable<T> objectIds, boolean reportMissing) <T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader.getObjectSize(Iterable<T> objectIds, boolean reportMissing) Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T><T extends ObjectId>
AsyncObjectLoaderQueue<T>Asynchronous object opening.Methods in org.eclipse.jgit.lib that return ObjectIdModifier and TypeMethodDescriptionTreeFormatter.computeId(ObjectInserter ins) Compute the ObjectId for this treefinal ObjectIdAnyObjectId.copy()Obtain an immutable copy of this current object name value.private final V[]ObjectIdSubclassMap.createArray(int sz) private static final ObjectIdObjectId.fromHexString(byte[] bs, int p) static final ObjectIdObjectId.fromRaw(byte[] bs) Convert an ObjectId from raw binary representation.static final ObjectIdObjectId.fromRaw(byte[] bs, int p) Convert an ObjectId from raw binary representation.static final ObjectIdObjectId.fromRaw(int[] is) Convert an ObjectId from raw binary representation.static final ObjectIdObjectId.fromRaw(int[] is, int p) Convert an ObjectId from raw binary representation.static final ObjectIdObjectId.fromString(byte[] buf, int offset) Convert an ObjectId from hex characters (US-ASCII).static ObjectIdObjectId.fromString(String str) Convert an ObjectId from hex characters.RefUpdate.getExpectedOldObjectId()Get the expected value of the ref after the lock is taken, but before update occurs.ReflogEntry.getNewId()Get the commit id after the changeRefUpdate.getNewObjectId()Get the new value the ref will be (or was) updated to.AsyncObjectLoaderQueue.getObjectId()Get the ObjectId of the current object.AsyncObjectSizeQueue.getObjectId()Get the ObjectId of the current object.abstract ObjectIdBitmapObject.getObjectId()Get the name of this object.ObjectIdRef.getObjectId()Cached value of this ref.Ref.getObjectId()Cached value of this ref.SymbolicRef.getObjectId()Cached value of this ref.TagBuilder.getObjectId()Get the object this tag refers to.ReflogEntry.getOldId()Get the commit id before the changeRefUpdate.getOldObjectId()The old value of the ref, prior to the update being attempted.ObjectId[]CommitBuilder.getParentIds()Get the ancestors of this commit.ObjectIdRef.PeeledNonTag.getPeeledObjectId()ObjectIdRef.PeeledTag.getPeeledObjectId()ObjectIdRef.Unpeeled.getPeeledObjectId()Ref.getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).SymbolicRef.getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).CommitBuilder.getTreeId()Get id of the root tree listing this commit's snapshot.private ObjectIdObjectChecker.idFor(int objType, byte[] raw) ObjectInserter.Filter.idFor(int type, byte[] data) ObjectInserter.Filter.idFor(int type, byte[] data, int off, int len) ObjectInserter.Filter.idFor(int objectType, long length, InputStream in) ObjectInserter.Filter.idFor(TreeFormatter formatter) ObjectInserter.idFor(int type, byte[] data) Compute the name of an object, without inserting it.ObjectInserter.idFor(int type, byte[] data, int off, int len) Compute the name of an object, without inserting it.ObjectInserter.idFor(int objectType, long length, InputStream in) Compute the name of an object, without inserting it.ObjectInserter.idFor(TreeFormatter formatter) Compute the ObjectId for the given tree without inserting it.ObjectInserter.Filter.insert(int type, byte[] data) ObjectInserter.Filter.insert(int type, byte[] data, int off, int len) ObjectInserter.Filter.insert(int objectType, long length, InputStream in) ObjectInserter.Formatter.insert(int objectType, long length, InputStream in) ObjectInserter.insert(int type, byte[] data) Insert a single object into the store, returning its unique name.ObjectInserter.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, InputStream in) Insert a single object into the store, returning its unique name.final ObjectIdObjectInserter.insert(CommitBuilder builder) Insert a single commit into the store, returning its unique name.final ObjectIdObjectInserter.insert(TagBuilder builder) Insert a single annotated tag into the store, returning its unique name.final ObjectIdObjectInserter.insert(TreeFormatter formatter) Insert a single tree into the store, returning its unique name.TreeFormatter.insertTo(ObjectInserter ins) Insert this tree and obtain its ObjectId.static ObjectIdObjectIdSerializer.read(InputStream in) Read a possibly nullObjectIdfrom the stream.Repository.readCherryPickHead()Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.Repository.readOrigHead()Return the information stored in the file $GIT_DIR/ORIG_HEAD.Repository.readRevertHead()Return the information stored in the file $GIT_DIR/REVERT_HEAD.static ObjectIdObjectIdSerializer.readWithoutMarker(InputStream in) Read a non-nullObjectIdfrom the stream.Parse a git revision string and return an object id.private ObjectIdRepository.resolveAbbreviation(String revstr) private ObjectIdRepository.resolveSimple(String revstr) AbbreviatedObjectId.toObjectId()A complete ObjectId; null ifAbbreviatedObjectId.isComplete()is falseabstract ObjectIdAnyObjectId.toObjectId()Obtain an immutable copy of this current object name value.MutableObjectId.toObjectId()Obtain an immutable copy of this current object name value.ObjectId.toObjectId()Obtain an immutable copy of this current object name value.static final ObjectIdObjectId.zeroId()Get the special all-null ObjectId.Methods in org.eclipse.jgit.lib that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionRepository.getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().ObjectReader.Filter.getShallowCommits()ObjectReader.getShallowCommits()Returns IDs for those commits which should be considered as shallow.Repository.readMergeHeads()Return the information stored in the file $GIT_DIR/MERGE_HEAD.ObjectReader.Filter.resolve(AbbreviatedObjectId id) abstract Collection<ObjectId>ObjectReader.resolve(AbbreviatedObjectId id) Resolve an abbreviated ObjectId to its full form.Methods in org.eclipse.jgit.lib with parameters of type ObjectIdModifier and TypeMethodDescriptionRefDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.private static booleanprotected voidRefUpdate.setOldObjectId(ObjectId old) Set the old value of the ref.voidCommitBuilder.setParentIds(ObjectId... newParents) Set the parents of this commit.static final StringConvert 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 ObjectIdModifier and TypeMethodDescriptionprivate voidRepository.writeHeadsFile(List<? extends ObjectId> heads, String filename) Write the given heads to a file in the git directory.voidRepository.writeMergeHeads(List<? extends ObjectId> heads) Write new merge-heads into $GIT_DIR/MERGE_HEAD.Constructors in org.eclipse.jgit.lib with parameters of type ObjectIdModifierConstructorDescriptionIndexDiff(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator) Construct an IndexdiffprotectedObjectIdRef(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 ObjectId in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdThreeWayMerger.baseCommitIdprotected ObjectIdResolveMerger.resultTreemerge result as treeprivate ObjectIdStrategySimpleTwoWayInCore.InCoreMerger.resultTreeMethods in org.eclipse.jgit.merge that return ObjectIdModifier and TypeMethodDescriptionabstract ObjectIdMerger.getBaseCommitId()Get the ID of the commit that was used as merge base for mergingStrategyOneSided.OneSide.getBaseCommitId()ThreeWayMerger.getBaseCommitId()Get the ID of the commit that was used as merge base for mergingabstract ObjectIdMerger.getResultTreeId()Get resulting tree.ResolveMerger.getResultTreeId()Get resulting tree.StrategyOneSided.OneSide.getResultTreeId()StrategySimpleTwoWayInCore.InCoreMerger.getResultTreeId()private ObjectIdResolveMerger.insertMergeResult(TemporaryBuffer buf, Attributes attributes) Methods in org.eclipse.jgit.merge with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate RevCommitRecursiveMerger.createCommitForTree(ObjectId tree, 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.notesModifier and TypeClassDescription(package private) classA tree entry found in a note branch that isn't a valid note.classIn-memory representation of a single note attached to one object.Fields in org.eclipse.jgit.notes declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdNote.dataprivate final ObjectIdFanoutBucket.LazyNoteBucket.treeIdMethods in org.eclipse.jgit.notes that return ObjectIdModifier and TypeMethodDescriptionNoteMap.get(AnyObjectId id) Lookup a note for a specific ObjectId.Note.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) NoteMap.writeTree(ObjectInserter inserter) Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate void(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) void(package private) voidConstructors in org.eclipse.jgit.notes with parameters of type ObjectIdModifierConstructorDescription(package private)LazyNoteBucket(ObjectId treeId) Note(AnyObjectId noteOn, ObjectId noteData) A Git note about the object referenced bynoteOn.privateNoteParser(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t) -
Uses of ObjectId in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdTag.objectprivate ObjectIdArchive.treeprivate ObjectIdDescribe.treeFields in org.eclipse.jgit.pgm with type parameters of type ObjectIdMethods in org.eclipse.jgit.pgm that return ObjectIdMethods in org.eclipse.jgit.pgm with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate static StringAbstractFetchCommand.safeAbbreviate(ObjectReader reader, ObjectId id) private static StringPush.safeAbbreviate(ObjectReader reader, ObjectId id) -
Uses of ObjectId in org.eclipse.jgit.pgm.debug
Fields in org.eclipse.jgit.pgm.debug declared as ObjectIdModifier and TypeFieldDescription(package private) ObjectIdRebuildCommitGraph.ToRewrite.newId(package private) final ObjectIdWriteReftable.LogEntry.newIdprivate ObjectIdShowPackDelta.objectId(package private) final ObjectIdRebuildCommitGraph.ToRewrite.oldId(package private) final ObjectIdWriteReftable.LogEntry.oldId(package private) final ObjectId[]RebuildCommitGraph.ToRewrite.oldParentsFields in org.eclipse.jgit.pgm.debug with type parameters of type ObjectIdMethods in org.eclipse.jgit.pgm.debug that return ObjectIdMethods in org.eclipse.jgit.pgm.debug that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionMethods in org.eclipse.jgit.pgm.debug with parameters of type ObjectIdConstructors in org.eclipse.jgit.pgm.debug with parameters of type ObjectId -
Uses of ObjectId in org.eclipse.jgit.pgm.opt
Constructor parameters in org.eclipse.jgit.pgm.opt with type arguments of type ObjectIdModifierConstructorDescriptionObjectIdHandler(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.revplotModifier and TypeClassDescriptionclassPlotCommit<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.revwalkModifier and TypeClassDescriptionstatic classRevCommit with a depth (in commits) from a root.classA binary file, or a symbolic link.classA commit reference to a commit in the DAG.classBase object type accessed during revision walking.classAn annotated tag.classA reference to a tree of subtrees/files.Fields in org.eclipse.jgit.revwalk with type parameters of type ObjectIdMethods in org.eclipse.jgit.revwalk with type parameters of type ObjectIdModifier and TypeMethodDescription<T extends ObjectId>
AsyncRevObjectQueueAsynchronous object parsing.Methods in org.eclipse.jgit.revwalk that return ObjectIdMethods in org.eclipse.jgit.revwalk that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionDepthWalk.getDeepenNots()DepthWalk.ObjectWalk.getDeepenNots()DepthWalk.RevWalk.getDeepenNots()Methods in org.eclipse.jgit.revwalk with parameters of type ObjectIdModifier and TypeMethodDescriptionprivate voidTreeRevFilter.updateFollowFilter(ObjectId[] trees, DiffConfig cfg) Method parameters in org.eclipse.jgit.revwalk with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidRevWalk.assumeShallow(Collection<? extends ObjectId> ids) Assume additional commits are shallow (have no parents).BitmapWalker.findObjects(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(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissingStart) voidDepthWalk.RevWalk.setDeepenNots(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 ObjectIdMethods in org.eclipse.jgit.storage.file that return ObjectId -
Uses of ObjectId in org.eclipse.jgit.storage.pack
Fields in org.eclipse.jgit.storage.pack with type parameters of type ObjectIdModifier and TypeFieldDescriptionPackStatistics.Accumulator.clientShallowCommitsThe set of shallow commits on the client.PackStatistics.Accumulator.interestingObjectsThe set of objects to be included in the pack.PackStatistics.Accumulator.rootCommitsCommits with no parents.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 ObjectIdModifier and TypeMethodDescriptionPackStatistics.getClientShallowCommits()Get unmodifiable collection of objects that were shallow commits on the client.PackStatistics.getInterestingObjects()Get unmodifiable collection of objects to be included in the pack.PackStatistics.getRootCommits()Get unmodifiable collection of the root commits of the history.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 ObjectIdModifier and TypeFieldDescriptionprivate final ObjectIdSubmoduleStatus.headIdprivate final ObjectIdSubmoduleStatus.indexIdprivate final ObjectIdSubmoduleConflict.objectIdMethods in org.eclipse.jgit.submodule that return ObjectIdModifier and TypeMethodDescriptionSubmoduleWalk.getHead()Get commit id that HEAD points to in the current submodule's repositorySubmoduleStatus.getHeadId()Get HEAD object idSubmoduleStatus.getIndexId()Get index object idSubmoduleConflict.getObjectId()SubmoduleWalk.getObjectId()Get object id of current submodule entryConstructors in org.eclipse.jgit.submodule with parameters of type ObjectIdModifierConstructorDescriptionSubmoduleConflict(ObjectId objectId) Create a SubmoduleConflict for the given submodule object idSubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId) Create submodule statusSubmoduleStatus(SubmoduleStatusType type, String path, ObjectId indexId, ObjectId headId) Create submodule status -
Uses of ObjectId in org.eclipse.jgit.transport
Subclasses of ObjectId in org.eclipse.jgit.transportModifier and TypeClassDescriptionclassDescription of an object stored in a pack file, including offset.private static classFields in org.eclipse.jgit.transport declared as ObjectIdModifier and TypeFieldDescriptionprivate ObjectIdRemoteRefUpdate.expectedOldObjectId(package private) ObjectIdPackParser.DeltaVisit.idprivate final ObjectIdReceiveCommand.newIdprivate final ObjectIdRemoteRefUpdate.newObjectId(package private) ObjectIdTrackingRefUpdate.newObjectId(package private) ObjectIdFetchHeadRecord.newValueprivate final ObjectIdReceiveCommand.oldId(package private) ObjectIdTrackingRefUpdate.oldObjectIdFields in org.eclipse.jgit.transport with type parameters of type ObjectIdModifier and TypeFieldDescriptionBasePackConnection.additionalHavesExtra objects the remote has, but which aren't offered as refs.UploadPack.advertisedObjects we sent in our advertisement list.ReceivePack.advertisedHavesAll SHA-1s shown to the client, which can be possible edges.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.FetchRequest.clientShallowCommitsFetchV0Request.Builder.clientShallowCommitsFetchV2Request.Builder.clientShallowCommitsReceivePack.clientShallowCommitsWalkFetchConnection.fetchErrorsErrors received while trying to obtain an object.FetchProcess.haveObjects we know we have locally.BundleWriter.includeprivate ObjectIdSubclassMap<ObjectId>PackParser.newObjectIdsEvery object contained within the incoming pack.ObjectInfoRequest.Builder.objectIDsObjectInfoRequest.objectIDsFetchV2Request.Builder.peerHasFetchV2Request.peerHasBundleFetchConnection.prereqsRefAdvertiser.sentBundleWriter.tagTargetsFetchRequest.wantIdsFetchV0Request.Builder.wantIdsFetchV2Request.Builder.wantIdsUploadPack.wantIdsRaw ObjectIds the client has asked for, before validating them.private LinkedList<ObjectId>WalkFetchConnection.workQueueObjects we need to copy from the remote repository.Methods in org.eclipse.jgit.transport that return ObjectIdModifier and TypeMethodDescriptionRemoteRefUpdate.getExpectedOldObjectId()Get expected old object idReceiveCommand.getNewId()Get the requested new value for this ref.RemoteRefUpdate.getNewObjectId()Get new object idTrackingRefUpdate.getNewObjectId()Get the new value the ref will be (or was) updated to.ReceiveCommand.getOldId()Get the old value the client thinks the ref has.TrackingRefUpdate.getOldObjectId()The old value of the ref, prior to the update being attempted.private ObjectIdUploadPack.processHaveLines(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private static ObjectIdUploadPack.refToObjectId(Ref ref) private ObjectIdPushCertificateStore.saveCert(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr) private ObjectIdprivate ObjectIdPushCertificateStore.write()Methods in org.eclipse.jgit.transport that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionAbstractAdvertiseRefsHook.getAdvertisedHaves(Repository repository, RevWalk revWalk) Get the additional haves to advertise.ReceivePack.getAdvertisedObjects()Get objects advertised to the client.PackParser.getBaseObjectIds()Get set of objects the incoming pack assumed for delta purposesFetchRequest.getClientShallowCommits()Shallow commits the client already has.ReceivePack.getClientShallowCommits()Get the commits from the client's shallow file.PackParser.getNewObjectIds()Get the new objects that were sent by the userObjectInfoRequest.getObjectIDs()FetchV2Request.getPeerHas()FetchRequest.getWantIds()UploadPack.refIdSet(Collection<Ref> refs) RefAdvertiser.send(Collection<Ref> refs) Format an advertisement for the supplied refs.Deprecated.WalkFetchConnection.swapFetchQueue()UploadPack.wantedRefs(FetchV2Request req) Methods in org.eclipse.jgit.transport with parameters of type ObjectIdModifier and TypeMethodDescription(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.Builder(package private) FetchV2Request.Builderprivate TrackingRefUpdateFetchProcess.createUpdate(RefSpec spec, ObjectId newId) private booleanPushProcess.isFastForward(ObjectId oldOid, ObjectId newOid) Determines whether an update fromoldOidtonewOidis a fast-forward update: both old and new must be commits, AND both of them must be known to us and exist in the repository, AND the old commit must be an ancestor of the new commit.static ReceiveCommandCreate 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 voidprivate ObjectIdUploadPack.processHaveLines(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private voidprivate voidBasePackConnection.processLineV2(String line, ObjectId id, String rest, Map<String, Ref> avail, Map<String, 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 ReceiveCommandCreate a command to switch a reference from symbolic to object.private RefUpdate.Resultprivate void(package private) voidOverwrite (or create) a loose ref in the remote repository.Method parameters in org.eclipse.jgit.transport with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidConnectivityChecker.checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) Checks connectivity of the commit graph after pack uploading.private static voidUploadPack.checkNotAdvertisedWants(UploadPack up, List<ObjectId> notAdvertisedWants, Collection<Ref> visibleRefs) voidUploadPack.AdvertisedRequestValidator.checkWants(UploadPack up, List<ObjectId> wants) voidUploadPack.AnyRequestValidator.checkWants(UploadPack up, List<ObjectId> wants) voidUploadPack.ReachableCommitRequestValidator.checkWants(UploadPack up, List<ObjectId> wants) voidUploadPack.ReachableCommitTipRequestValidator.checkWants(UploadPack up, List<ObjectId> wants) voidUploadPack.RequestValidator.checkWants(UploadPack up, List<ObjectId> wants) Check a list of client wants against the request policy.voidUploadPack.TipRequestValidator.checkWants(UploadPack up, List<ObjectId> wants) private voidUploadPack.computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, List<ObjectId> deepenNots) private voidUploadPack.computeShallowsAndUnshallows(FetchRequest req, UploadPack.IOConsumer<ObjectId> shallowFunc, UploadPack.IOConsumer<ObjectId> unshallowFunc, List<ObjectId> deepenNots) protected abstract voidBaseFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidBasePackFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Execute common ancestor negotiation and fetch the objects.protected voidBundleFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidTransportHttp.SmartHttpFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) protected voidWalkFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.final voidBaseFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final voidBaseFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.private voidWalkFetchConnection.markLocalRefsComplete(Set<ObjectId> have) private voidBasePackFetchConnection.markReachable(Set<ObjectId> have, int maxTime) UploadPack.objectIdsToRevObjects(RevWalk walk, Iterable<ObjectId> objectIds) voidPreUploadHook.onBeginNegotiateRound(UploadPack up, Collection<? extends ObjectId> wants, int cntOffered) Invoked before negotiation round is started.voidPreUploadHookChain.onBeginNegotiateRound(UploadPack up, Collection<? extends ObjectId> wants, int cntOffered) Invoked before negotiation round is started.voidPreUploadHook.onEndNegotiateRound(UploadPack up, Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) Invoked after a negotiation round is completed.voidPreUploadHookChain.onEndNegotiateRound(UploadPack up, Collection<? extends ObjectId> wants, int cntCommon, int cntNotFound, boolean ready) Invoked after a negotiation round is completed.voidPreUploadHook.onSendPack(UploadPack up, Collection<? extends ObjectId> wants, Collection<? extends ObjectId> haves) Invoked just before a pack will be sent to the client.voidPreUploadHookChain.onSendPack(UploadPack up, Collection<? extends ObjectId> wants, Collection<? extends ObjectId> haves) Invoked just before a pack will be sent to the client.private ObjectIdUploadPack.processHaveLines(List<ObjectId> peerHas, ObjectId last, PacketLineOut out, PackStatistics.Accumulator accumulator, UploadPack.Option option) private voidUploadPack.sendPack(ProgressMonitor pm, PacketLineOut pckOut, OutputStream packOut, FetchRequest req, PackStatistics.Accumulator accumulator, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots) Send the requested objects to the client.private voidUploadPack.sendPack(PackStatistics.Accumulator accumulator, FetchRequest req, Collection<Ref> allTags, List<ObjectId> unshallowCommits, List<ObjectId> deepenNots, PacketLineOut pckOut) Send the requested objects to the client.voidSet the refs advertised by this ReceivePack.ObjectInfoRequest.Builder.setObjectIDs(List<ObjectId> value) private booleanUploadPack.shouldGiveUp(List<ObjectId> peerHas, PacketLineOut out, int missCnt) private voidUploadPack.verifyClientShallow(Set<ObjectId> shallowCommits) Constructors in org.eclipse.jgit.transport with parameters of type ObjectIdModifierConstructorDescriptionprivateReceiveCommand(String oldSymref, ObjectId newId, String name) Create a command to switch a reference from symbolic to object.privateReceiveCommand(ObjectId oldId, String newSymref, String name) Create a command to switch a reference from object to symbolic.ReceiveCommand(ObjectId oldId, ObjectId newId, String name) Create a new command forReceivePack.ReceiveCommand(ObjectId oldId, ObjectId newId, String name, ReceiveCommand.Type type) Create a new command forReceivePack.RemoteRefUpdate(Repository localDb, String srcRef, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification.privateRemoteRefUpdate(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, Collection<RefSpec> fetchSpecs, ObjectId expectedOldObjectId) RemoteRefUpdate(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, Ref srcRef, String remoteName, boolean forceUpdate, 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 ObjectIdModifierConstructorDescription(package private)FetchRequest(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, int deepenSince, List<String> deepenNotRefs, String agent) Initialize the common fields of a fetch request.(package private)FetchV0Request(Set<ObjectId> wantIds, int depth, Set<ObjectId> clientShallowCommits, FilterSpec filterSpec, Set<String> clientCapabilities, String agent) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) (package private)FetchV2Request(List<ObjectId> peerHas, List<String> wantedRefs, Set<ObjectId> wantIds, Set<ObjectId> clientShallowCommits, int deepenSince, List<String> deepenNotRefs, int depth, FilterSpec filterSpec, boolean doneReceived, boolean waitForDone, Set<String> clientCapabilities, String agent, List<String> serverOptions, boolean sidebandAll, List<String> packfileUriProtocols) privateObjectInfoRequest(List<ObjectId> objectIDs) -
Uses of ObjectId in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectIdModifier and TypeMethodDescriptionAbstractTreeIterator.getEntryObjectId()Get the object id of the current entry.EmptyTreeIterator.getEntryObjectId()Get the object id of the current entry.TreeWalk.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 ObjectIdModifier and TypeMethodDescriptionstatic ObjectIdChangeIdUtil.computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message) Compute a Change-Id.Methods in org.eclipse.jgit.util with parameters of type ObjectIdModifier and TypeMethodDescriptionstatic ObjectIdChangeIdUtil.computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message) Compute a Change-Id.static StringFind the right place to insert a Change-Id and return it.static StringFind 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 ObjectIdModifier and TypeMethodDescription(package private) ObjectIdSHA1.State.toObjectId()SHA1.toObjectId()Finish the digest and return the resulting hash.Constructors in org.eclipse.jgit.util.sha1 with parameters of type ObjectIdModifierConstructorDescriptionInitialize with default message.
RefAdvertiser.send(Collection)instead.