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).
Patch file parser and data structure.
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
Methods 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 mergeMethods 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.CloneCommand.addShallowExclude(ObjectId shallowExclude) Creates a shallow clone with a history, excluding commits reachable from a specified remote branch or tag.FetchCommand.addShallowExclude(ObjectId shallowExclude) Creates a shallow clone with a history, excluding commits reachable from a specified remote branch or tag.voidArchiveCommand.Format.putEntry(T out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.Sets the commit to be described.Set the tag, commit, or tree object to produce an archive forMethod parameters in org.eclipse.jgit.api with type arguments of type ObjectIdModifier and TypeMethodDescriptionAdd multiple objects to search for.BlameCommand.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.blame
Method 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 ObjectId -
Uses of ObjectId in org.eclipse.jgit.dircache
Methods 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.Constructors 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. -
Uses of ObjectId in org.eclipse.jgit.errors
Methods 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)Constructors 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 ObjectId -
Uses of ObjectId in org.eclipse.jgit.internal.fsck
Methods 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.commitgraph
Methods in org.eclipse.jgit.internal.storage.commitgraph that return ObjectIdModifier and TypeMethodDescriptionCommitGraph.getObjectId(int graphPos) Get the object at the commit-graph position.CommitGraph.CommitData.getTree()Get a reference to this commit's tree.Method parameters in org.eclipse.jgit.internal.storage.commitgraph with type arguments of type ObjectIdModifier and TypeMethodDescriptionstatic GraphCommitsGraphCommits.fromWalk(ProgressMonitor pm, Set<? extends ObjectId> wants, RevWalk walk) Prepare and create the commits forCommitGraphWriterfrom the RevWalk. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectIdModifier and TypeMethodDescription<T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader.getObjectSize(Iterable<T> objectIds, boolean reportMissing) <T extends ObjectId>
AsyncObjectLoaderQueue<T>Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectIdModifier and TypeMethodDescriptionDfsInserter.insert(int type, byte[] data, int off, int len) DfsInserter.insert(int type, long len, InputStream in) Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type ObjectIdModifier and TypeMethodDescriptionDfsReader.getShallowCommits()InMemoryRepository.MemObjDatabase.getShallowCommits()DfsReader.resolve(AbbreviatedObjectId id) Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectIdMethod parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidInMemoryRepository.MemObjDatabase.setShallowCommits(Set<ObjectId> shallowCommits) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.fileModifier and TypeClassDescriptionstatic final classAn entry in the old PackBitmapIndex.Methods in org.eclipse.jgit.internal.storage.file that return ObjectIdModifier and TypeMethodDescriptionPackReverseIndex.findObject(long offset) Search for object id with the specified start offset in this pack (reverse) index.PackReverseIndex.findObjectByPosition(int nthPosition) Find the object that is in the given position in the primary index.ReflogEntryImpl.getNewId()abstract ObjectIdPackBitmapIndex.getObject(int position) Get the object at the bitmap position.PackBitmapIndexBuilder.getObject(int position) PackBitmapIndexRemapper.getObject(int position) 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().ReflogEntryImpl.getOldId()PackInserter.insert(int type, byte[] data, int off, int len) PackInserter.insert(int type, long len, InputStream in) PackIndex.MutableEntry.toObjectId()Create a copy of the object idMethods 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().ObjectDirectory.getShallowCommits()Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectIdModifier and TypeMethodDescriptionWrite the given entry information to the ref's logvoidWrite an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidLike "git prune" this method tries to prune all loose objects which are unreferenced.abstract voidPackIndex.resolve(Set<ObjectId> matches, AbbreviatedObjectId id, int matchLimit) Find objects matching the prefix abbreviation.voidObjectDirectory.setShallowCommits(Set<ObjectId> shallowCommits) Constructors in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId -
Uses of ObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.packModifier and TypeClassDescriptionfinal classA commit object for which a bitmap index should be built.classPer-object state used byPackWriter.Fields in org.eclipse.jgit.internal.storage.pack with type parameters of type ObjectIdMethods 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 representationMethod parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectIdModifier and TypeMethodDescriptionvoidPackWriter.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.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. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.reftable
Methods 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.voidReftableWriter.writeLog(String ref, long updateIndex, PersonIdent who, ObjectId oldId, ObjectId newId, String message) Write one reflog entry to the reftable. -
Uses of ObjectId in org.eclipse.jgit.internal.transport.connectivity
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) 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.static final ObjectIdConstants.EMPTY_TREE_IDWell-known object ID for the empty tree.Methods 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.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()Ref.getObjectId()Cached value of this ref.SymbolicRef.getObjectId()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()CommitBuilder.getTreeId()Get id of the root tree listing this commit's snapshot.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.AbbreviatedObjectId.toObjectId()A complete ObjectId; null ifAbbreviatedObjectId.isComplete()is falseabstract ObjectIdAnyObjectId.toObjectId()Obtain an immutable copy of this current object name value.MutableObjectId.toObjectId()ObjectId.toObjectId()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().ObjectDatabase.getShallowCommits()Get the shallow commits of the current repositoryObjectReader.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.protected 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 TypeMethodDescriptionvoidObjectDatabase.setShallowCommits(Set<ObjectId> shallowCommits) Update the shallow commits of the current repositoryvoidRepository.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 TypeFieldDescriptionprotected ObjectIdResolveMerger.resultTreemerge result as treeMethods 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 mergingThreeWayMerger.getBaseCommitId()abstract ObjectIdMerger.getResultTreeId()Get resulting tree.ResolveMerger.getResultTreeId()ResolveMerger.WorkTreeUpdater.Result.getTreeId()Get modified tree id if anyMethods in org.eclipse.jgit.merge with parameters of type ObjectIdModifier and TypeMethodDescriptionResolveMerger.WorkTreeUpdater.addExistingToIndex(ObjectId objectId, byte[] path, FileMode fileMode, int entryStage, Instant lastModified, int len) Adds a path with the specified stage to the index builder. -
Uses of ObjectId in org.eclipse.jgit.notes
Subclasses of ObjectId in org.eclipse.jgit.notesModifier and TypeClassDescriptionclassIn-memory representation of a single note attached to one object.Methods 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.NoteMap.writeTree(ObjectInserter inserter) Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectIdModifier and TypeMethodDescriptionstatic 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.Constructors in org.eclipse.jgit.notes with parameters of type ObjectIdModifierConstructorDescriptionNote(AnyObjectId noteOn, ObjectId noteData) A Git note about the object referenced bynoteOn. -
Uses of ObjectId in org.eclipse.jgit.patch
Methods in org.eclipse.jgit.patch that return ObjectId -
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.Methods 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()Get deepen-not valuesDepthWalk.ObjectWalk.getDeepenNots()DepthWalk.RevWalk.getDeepenNots()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.voidDepthWalk.RevWalk.setDeepenNots(List<ObjectId> deepenNots) Mark objects that the client specified using --shallow-exclude. -
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
Methods 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()Get objectId for the conflicting submoduleSubmoduleWalk.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.Fields 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.BasePackConnection.additionalHavesExtra objects the remote has, but which aren't offered as refs.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.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 purposesPackParser.getNewObjectIds()Get the new objects that were sent by the userObjectInfoRequest.getObjectIDs()Get object ids requested by the clientRefAdvertiser.send(Collection<Ref> refs) Format an advertisement for the supplied refs.Deprecated.Methods in org.eclipse.jgit.transport with parameters of type ObjectIdModifier and TypeMethodDescriptionstatic ReceiveCommandCreate a command to switch a reference from object to symbolic.protected PackedObjectInfoPackParser.newInfo(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase) Construct a PackedObjectInfo instance for this parser.static ReceiveCommandCreate a command to switch a reference from symbolic to object.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.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) protected voidBasePackFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Execute common ancestor negotiation and fetch the objects.final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) 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.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) 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) 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) voidSet the refs advertised by this ReceivePack.ObjectInfoRequest.Builder.setObjectIDs(List<ObjectId> value) Set object idsConstructors in org.eclipse.jgit.transport with parameters of type ObjectIdModifierConstructorDescriptionReceiveCommand(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.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. -
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()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 TypeMethodDescriptionabstract ObjectIdSHA1.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.