Uses of Class
org.eclipse.jgit.lib.ObjectId
-
Packages that use ObjectId Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.errors Exceptions thrown by lower-level JGit APIs.org.eclipse.jgit.gitrepo org.eclipse.jgit.internal.storage.dfs Distributed file system based repository storage.org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.pack Reading/writing Git pack files.org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.notes Git notes processing (for commits, etc).org.eclipse.jgit.revplot Building/rendering revision graphs.org.eclipse.jgit.revwalk Walking revision graphs (commit history).org.eclipse.jgit.submodule Git submodule support.org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes. -
-
Uses of ObjectId in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return ObjectId Modifier and Type Method Description ObjectIdStashApplyCommand. call()Apply the changes in a stashed commit to the working directory and indexObjectIdStashDropCommand. call()Drop the configured entry from the stash reflog and return value of the stash reference after the drop occursObjectIdMergeResult. getBase()ObjectId[]MergeResult. getMergedCommits()ObjectIdMergeResult. getNewHead()Methods in org.eclipse.jgit.api that return types with arguments of type ObjectId Modifier and Type Method Description Map<ObjectId,String>NameRevCommand. call()Methods in org.eclipse.jgit.api with parameters of type ObjectId Modifier and Type Method Description NameRevCommandNameRevCommand. add(ObjectId id)Add an object to search for.DescribeCommandDescribeCommand. setTarget(ObjectId target)Sets the commit to be described.ArchiveCommandArchiveCommand. setTree(ObjectId tree)Method parameters in org.eclipse.jgit.api with type arguments of type ObjectId Modifier and Type Method Description NameRevCommandNameRevCommand. add(Iterable<ObjectId> ids)Add multiple objects to search for.BlameCommandBlameCommand. 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 ObjectId Constructor Description MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults)MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults, String description)MergeResult(ObjectId newHead, ObjectId base, ObjectId[] mergedCommits, MergeResult.MergeStatus mergeStatus, MergeStrategy mergeStrategy, Map<String,MergeResult<?>> lowLevelResults, Map<String,ResolveMerger.MergeFailureReason> failingPaths, String description) -
Uses of ObjectId in org.eclipse.jgit.blame
Method parameters in org.eclipse.jgit.blame with type arguments of type ObjectId Modifier and Type Method Description BlameGeneratorBlameGenerator. 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 ObjectId Modifier and Type Method Description ObjectIdPatchIdDiffFormatter. getCalulatedPatchId()Should be called after having called one of the format methodsMethods in org.eclipse.jgit.diff with parameters of type ObjectId Modifier and Type Method Description abstract ObjectLoaderContentSource. open(String path, ObjectId id)Open the object.abstract longContentSource. size(String path, ObjectId id)Determine the size of the object. -
Uses of ObjectId in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return ObjectId Modifier and Type Method Description ObjectIdDirCacheEntry. getObjectId()Obtain the ObjectId for the entry.ObjectIdDirCache. writeTree(ObjectInserter ow)Write all index trees to the object store, returning the root tree.Methods in org.eclipse.jgit.dircache that return types with arguments of type ObjectId Modifier and Type Method Description Map<String,ObjectId>DirCacheCheckout. getUpdated()Constructors in org.eclipse.jgit.dircache with parameters of type ObjectId Constructor Description DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index. -
Uses of ObjectId in org.eclipse.jgit.errors
Methods in org.eclipse.jgit.errors that return ObjectId Modifier and Type Method Description ObjectIdLargeObjectException. getObjectId()ObjectIdMissingObjectException. getObjectId()Methods in org.eclipse.jgit.errors that return types with arguments of type ObjectId Modifier and Type Method Description Collection<ObjectId>AmbiguousObjectException. getCandidates()Constructors in org.eclipse.jgit.errors with parameters of type ObjectId Constructor Description CorruptObjectException(ObjectId id, String why)Construct a CorruptObjectException for reporting a problem specified object idIncorrectObjectTypeException(ObjectId id, int type)Construct and IncorrectObjectTypeException for the specified object id.IncorrectObjectTypeException(ObjectId id, String type)Construct and 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 ObjectId Constructor Description AmbiguousObjectException(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 Modifier and Type Method Description ObjectIdRepoCommand.DefaultRemoteReader. sha1(String uri, String ref)ObjectIdRepoCommand.RemoteReader. sha1(String uri, String ref)Read a remote ref sha1. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncObjectSizeQueue<T>DfsReader. getObjectSize(Iterable<T> objectIds, boolean reportMissing)<T extends ObjectId>
AsyncObjectLoaderQueue<T>DfsReader. open(Iterable<T> objectIds, boolean reportMissing)Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectId Modifier and Type Method Description ObjectIdDfsInserter. insert(int type, byte[] data, int off, int len)ObjectIdDfsInserter. insert(int type, long len, InputStream in)Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type ObjectId Modifier and Type Method Description Set<ObjectId>DfsReader. getShallowCommits()Collection<ObjectId>DfsReader. resolve(AbbreviatedObjectId id) -
Uses of ObjectId in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description classPackBitmapIndexRemapper.EntryAn entry in the old PackBitmapIndex.Methods in org.eclipse.jgit.internal.storage.file that return ObjectId Modifier and Type Method Description ObjectIdPackReverseIndex. findObject(long offset)Search for object id with the specified start offset in this pack (reverse) index.ObjectIdReflogEntryImpl. getNewId()abstract ObjectIdPackBitmapIndex. getObject(int position)Get the object at the bitmap position.ObjectIdPackBitmapIndexBuilder. getObject(int position)ObjectIdPackBitmapIndexRemapper. getObject(int position)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().ObjectIdReflogEntryImpl. getOldId()ObjectIdPackIndex.MutableEntry. toObjectId()Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type ObjectId Modifier and Type Method Description Set<ObjectId>FileRepository. getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectId Modifier and Type Method Description ReflogWriterReflogWriter. log(String refName, ObjectId oldId, ObjectId newId, PersonIdent ident, String message)Write the given entry information to the ref's logvoidLockFile. write(ObjectId id)Write an ObjectId and LF to the temporary file.Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectId Modifier and Type Method Description voidGC. prune(Set<ObjectId> objectsToKeep)Like "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. -
Uses of ObjectId in org.eclipse.jgit.internal.storage.pack
Subclasses of ObjectId in org.eclipse.jgit.internal.storage.pack Modifier and Type Class Description classObjectToPackPer-object state used byPackWriter.Methods in org.eclipse.jgit.internal.storage.pack that return ObjectId Modifier and Type Method Description ObjectIdPackWriter. computeName()Computes SHA-1 of lexicographically sorted objects ids written in this pack, as used to name a pack file in repository.ObjectIdStoredObjectRepresentation. getDeltaBase()ObjectIdObjectToPack. getDeltaBaseId()Methods in org.eclipse.jgit.internal.storage.pack that return types with arguments of type ObjectId Modifier and Type Method Description Set<ObjectId>PackWriter.Statistics. getInterestingObjects()Set<ObjectId>PackWriter.Statistics. getUninterestingObjects()Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectId Modifier and Type Method Description voidPackWriter. preparePack(ProgressMonitor countingMonitor, Collection<? extends ObjectId> want, Collection<? extends ObjectId> have)Deprecated.to be removed in 2.0; use the Set version of this method.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, ObjectWalk walk, Collection<? extends ObjectId> interestingObjects, Collection<? extends ObjectId> uninterestingObjects)Deprecated.to be removed in 2.0; use the Set version of this method.voidPackWriter. preparePack(ProgressMonitor countingMonitor, ObjectWalk walk, Set<? extends ObjectId> interestingObjects, Set<? extends ObjectId> uninterestingObjects)Prepare the list of objects to be written to the pack stream.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.lib
Classes in org.eclipse.jgit.lib with type parameters of type ObjectId Modifier and Type Interface Description interfaceAsyncObjectLoaderQueue<T extends ObjectId>Queue to open objects asynchronously.interfaceAsyncObjectSizeQueue<T extends ObjectId>Queue to examine object sizes asynchronously.classObjectIdSubclassMap<V extends ObjectId>Fast, efficient map specifically forObjectIdsubclasses.Subclasses of ObjectId in org.eclipse.jgit.lib Modifier and Type Class Description static classObjectIdOwnerMap.EntryType of entry stored in theObjectIdOwnerMap.Fields in org.eclipse.jgit.lib declared as ObjectId Modifier and Type Field Description static ObjectIdConstants. EMPTY_BLOB_IDobjectid for the empty blobMethods in org.eclipse.jgit.lib with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncObjectSizeQueue<T>ObjectReader. getObjectSize(Iterable<T> objectIds, boolean reportMissing)Asynchronous object size lookup.<T extends ObjectId>
AsyncObjectLoaderQueue<T>ObjectReader. open(Iterable<T> objectIds, boolean reportMissing)Asynchronous object opening.Methods in org.eclipse.jgit.lib that return ObjectId Modifier and Type Method Description ObjectIdTreeFormatter. computeId(ObjectInserter ins)Compute the ObjectId for this treeObjectIdAnyObjectId. copy()Obtain an immutable copy of this current object name value.static ObjectIdObjectId. fromRaw(byte[] bs)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(byte[] bs, int p)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(int[] is)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromRaw(int[] is, int p)Convert an ObjectId from raw binary representation.static ObjectIdObjectId. fromString(byte[] buf, int offset)Convert an ObjectId from hex characters (US-ASCII).static ObjectIdObjectId. fromString(String str)Convert an ObjectId from hex characters.ObjectIdRefUpdate. getExpectedOldObjectId()ObjectIdTreeEntry. getId()Deprecated.ObjectIdReflogEntry. getNewId()ObjectIdRefUpdate. getNewObjectId()Get the new value the ref will be (or was) updated to.ObjectIdAsyncObjectLoaderQueue. getObjectId()ObjectIdAsyncObjectSizeQueue. getObjectId()abstract ObjectIdBitmapObject. getObjectId()Get the name of this object.ObjectIdObjectIdRef. getObjectId()ObjectIdRef. getObjectId()Cached value of this ref.ObjectIdSymbolicRef. getObjectId()ObjectIdTagBuilder. getObjectId()ObjectIdReflogEntry. getOldId()ObjectIdRefUpdate. getOldObjectId()The old value of the ref, prior to the update being attempted.ObjectId[]CommitBuilder. getParentIds()ObjectIdObjectIdRef.PeeledNonTag. getPeeledObjectId()ObjectIdObjectIdRef.PeeledTag. getPeeledObjectId()ObjectIdObjectIdRef.Unpeeled. getPeeledObjectId()ObjectIdRef. getPeeledObjectId()Cached value ofref^{}(the ref peeled to commit).ObjectIdSymbolicRef. getPeeledObjectId()ObjectIdCommitBuilder. getTreeId()ObjectIdObjectInserter.Filter. idFor(int type, byte[] data)ObjectIdObjectInserter.Filter. idFor(int type, byte[] data, int off, int len)ObjectIdObjectInserter.Filter. idFor(int objectType, long length, InputStream in)ObjectIdObjectInserter.Filter. idFor(TreeFormatter formatter)ObjectIdObjectInserter. idFor(int type, byte[] data)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(int type, byte[] data, int off, int len)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(int objectType, long length, InputStream in)Compute the name of an object, without inserting it.ObjectIdObjectInserter. idFor(TreeFormatter formatter)Compute the ObjectId for the given tree without inserting it.ObjectIdObjectInserter.Filter. insert(int type, byte[] data)ObjectIdObjectInserter.Filter. insert(int type, byte[] data, int off, int len)ObjectIdObjectInserter.Filter. insert(int objectType, long length, InputStream in)ObjectIdObjectInserter.Formatter. insert(int objectType, long length, InputStream in)ObjectIdObjectInserter. insert(int type, byte[] data)Insert a single object into the store, returning its unique name.ObjectIdObjectInserter. insert(int type, byte[] data, int off, int len)Insert a single object into the store, returning its unique name.abstract ObjectIdObjectInserter. insert(int objectType, long length, InputStream in)Insert a single object into the store, returning its unique name.ObjectIdObjectInserter. insert(CommitBuilder builder)Insert a single commit into the store, returning its unique name.ObjectIdObjectInserter. insert(TagBuilder builder)Insert a single annotated tag into the store, returning its unique name.ObjectIdObjectInserter. insert(TreeFormatter formatter)Insert a single tree into the store, returning its unique name.ObjectIdTreeFormatter. insertTo(ObjectInserter ins)Insert this tree and obtain its ObjectId.ObjectIdRepository. readCherryPickHead()Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.ObjectIdRepository. readOrigHead()Return the information stored in the file $GIT_DIR/ORIG_HEAD.ObjectIdRepository. readRevertHead()Return the information stored in the file $GIT_DIR/REVERT_HEAD.ObjectIdRepository. resolve(String revstr)Parse a git revision string and return an object id.ObjectIdAbbreviatedObjectId. toObjectId()abstract ObjectIdAnyObjectId. toObjectId()Obtain an immutable copy of this current object name value.ObjectIdMutableObjectId. toObjectId()ObjectIdObjectId. toObjectId()static ObjectIdObjectId. zeroId()Get the special all-null ObjectId.Methods in org.eclipse.jgit.lib that return types with arguments of type ObjectId Modifier and Type Method Description Set<ObjectId>Repository. getAdditionalHaves()Objects known to exist but not expressed byRepository.getAllRefs().abstract Set<ObjectId>ObjectReader. getShallowCommits()Returns IDs for those commits which should be considered as shallow.List<ObjectId>Repository. readMergeHeads()Return the information stored in the file $GIT_DIR/MERGE_HEAD.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 ObjectId Modifier and Type Method Description voidTreeEntry. setId(ObjectId n)Deprecated.Set (update) the SHA-1 of this entry.protected voidRefUpdate. setOldObjectId(ObjectId old)Set the old value of the ref.voidCommitBuilder. setParentIds(ObjectId... newParents)Set the parents of this commit.static StringObjectId. toString(ObjectId i)Convert an ObjectId into a hex string representation.voidRepository. writeCherryPickHead(ObjectId head)Write cherry pick commit into $GIT_DIR/CHERRY_PICK_HEAD.voidRepository. writeOrigHead(ObjectId head)Write original HEAD commit into $GIT_DIR/ORIG_HEAD.voidRepository. writeRevertHead(ObjectId head)Write revert commit into $GIT_DIR/REVERT_HEAD.Method parameters in org.eclipse.jgit.lib with type arguments of type ObjectId Modifier and Type Method Description 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 ObjectId Constructor Description FileTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8, boolean execute)Deprecated.Constructor for a File (blob) object.GitlinkTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8)Deprecated.Construct aGitlinkTreeEntrywith the specified name and SHA-1 in the specified parentIndexDiff(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator)Construct an IndexdiffObjectIdRef(Ref.Storage st, String name, ObjectId id)Create a new ref pairing.PeeledNonTag(Ref.Storage st, String name, ObjectId id)Create a new ref pairing.PeeledTag(Ref.Storage st, String name, ObjectId id, ObjectId p)Create a new ref pairing.SymlinkTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8)Deprecated.Construct aSymlinkTreeEntrywith the specified name and SHA-1 in the specified parentTree(Repository repo, ObjectId myId, byte[] raw)Deprecated.Construct a Tree object with known content and hash valueTree(Tree parent, ObjectId id, byte[] nameUTF8)Deprecated.Construct a Tree with a known SHA-1 under another tree.TreeEntry(Tree myParent, ObjectId myId, byte[] myNameUTF8)Deprecated.Construct a named tree entry.Unpeeled(Ref.Storage st, String name, ObjectId id)Create a new ref pairing. -
Uses of ObjectId in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectId Modifier and Type Field Description protected ObjectIdResolveMerger. resultTreemerge result as treeMethods in org.eclipse.jgit.merge that return ObjectId Modifier and Type Method Description abstract ObjectIdMerger. getBaseCommitId()ObjectIdThreeWayMerger. getBaseCommitId()abstract ObjectIdMerger. getResultTreeId()ObjectIdResolveMerger. getResultTreeId() -
Uses of ObjectId in org.eclipse.jgit.notes
Subclasses of ObjectId in org.eclipse.jgit.notes Modifier and Type Class Description classNoteIn-memory representation of a single note attached to one object.Methods in org.eclipse.jgit.notes that return ObjectId Modifier and Type Method Description ObjectIdNoteMap. get(AnyObjectId id)Lookup a note for a specific ObjectId.ObjectIdNote. getData()ObjectIdNoteMap. writeTree(ObjectInserter inserter)Write this note map as a tree.Methods in org.eclipse.jgit.notes with parameters of type ObjectId Modifier and Type Method Description 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.Constructors in org.eclipse.jgit.notes with parameters of type ObjectId Constructor Description Note(AnyObjectId noteOn, ObjectId noteData)A Git note about the object referenced bynoteOn. -
Uses of ObjectId in org.eclipse.jgit.revplot
Subclasses of ObjectId in org.eclipse.jgit.revplot Modifier and Type Class Description classPlotCommit<L extends PlotLane>A commit reference to a commit in the DAG. -
Uses of ObjectId in org.eclipse.jgit.revwalk
Subclasses of ObjectId in org.eclipse.jgit.revwalk Modifier and Type Class Description static classDepthWalk.CommitRevCommit with a depth (in commits) from a root.classRevBlobA binary file, or a symbolic link.classRevCommitA commit reference to a commit in the DAG.classRevObjectBase object type accessed during revision walking.classRevTagAn annotated tag.classRevTreeA reference to a tree of subtrees/files.Methods in org.eclipse.jgit.revwalk with type parameters of type ObjectId Modifier and Type Method Description <T extends ObjectId>
AsyncRevObjectQueueRevWalk. parseAny(Iterable<T> objectIds, boolean reportMissing)Asynchronous object parsing.Methods in org.eclipse.jgit.revwalk that return ObjectId Modifier and Type Method Description ObjectIdRevObject. getId()Get the name of this object.Method parameters in org.eclipse.jgit.revwalk with type arguments of type ObjectId Modifier and Type Method Description voidRevWalk. assumeShallow(Collection<? extends ObjectId> ids)Assume additional commits are shallow (have no parents). -
Uses of ObjectId in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule that return ObjectId Modifier and Type Method Description ObjectIdSubmoduleWalk. getHead()Get commit id that HEAD points to in the current submodule's repositoryObjectIdSubmoduleStatus. getHeadId()ObjectIdSubmoduleStatus. getIndexId()ObjectIdSubmoduleWalk. getObjectId()Get object id of current submodule entryConstructors in org.eclipse.jgit.submodule with parameters of type ObjectId Constructor Description SubmoduleStatus(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.transport Modifier and Type Class Description classPackedObjectInfoDescription of an object stored in a pack file, including offset.Fields in org.eclipse.jgit.transport with type parameters of type ObjectId Modifier and Type Field Description protected Set<ObjectId>BasePackConnection. additionalHavesExtra objects the remote has, but which aren't offered as refs.protected Set<ObjectId>BasePackConnection. additionalHavesExtra objects the remote has, but which aren't offered as refs.Methods in org.eclipse.jgit.transport that return ObjectId Modifier and Type Method Description ObjectIdRemoteRefUpdate. getExpectedOldObjectId()ObjectIdReceiveCommand. getNewId()ObjectIdRemoteRefUpdate. getNewObjectId()ObjectIdTrackingRefUpdate. getNewObjectId()Get the new value the ref will be (or was) updated to.ObjectIdReceiveCommand. getOldId()ObjectIdTrackingRefUpdate. 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 ObjectId Modifier and Type Method Description protected Set<ObjectId>AbstractAdvertiseRefsHook. getAdvertisedHaves(Repository repository, RevWalk revWalk)Get the additional haves to advertise.Set<ObjectId>BaseReceivePack. getAdvertisedObjects()Get objects advertised to the client.ObjectIdSubclassMap<ObjectId>PackParser. getBaseObjectIds()protected Set<ObjectId>BaseReceivePack. getClientShallowCommits()Get the commits from the client's shallow file.ObjectIdSubclassMap<ObjectId>PackParser. getNewObjectIds()Set<ObjectId>RefAdvertiser. send(Map<String,Ref> refs)Format an advertisement for the supplied refs.Methods in org.eclipse.jgit.transport with parameters of type ObjectId Modifier and Type Method Description protected PackedObjectInfoPackParser. newInfo(AnyObjectId id, PackParser.UnresolvedDelta delta, ObjectId deltaBase)Construct a PackedObjectInfo instance for this parser.Method parameters in org.eclipse.jgit.transport with type arguments of type ObjectId Modifier and Type Method Description 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.voidBasePackFetchConnection. fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have)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)voidBaseReceivePack. setAdvertisedRefs(Map<String,Ref> allRefs, Set<ObjectId> additionalHaves)Set the refs advertised by this ReceivePack.Constructors in org.eclipse.jgit.transport with parameters of type ObjectId Constructor Description ReceiveCommand(ObjectId oldId, ObjectId newId, String name)Create a new command forBaseReceivePack.ReceiveCommand(ObjectId oldId, ObjectId newId, String name, ReceiveCommand.Type type)Create a new command forBaseReceivePack.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 ObjectId Modifier and Type Method Description ObjectIdAbstractTreeIterator. getEntryObjectId()Get the object id of the current entry.ObjectIdEmptyTreeIterator. getEntryObjectId()ObjectIdTreeWalk. getObjectId(int nth)Obtain the ObjectId for the current entry. -
Uses of ObjectId in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return ObjectId Modifier and Type Method Description static ObjectIdChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message)Compute a Change-Id.Methods in org.eclipse.jgit.util with parameters of type ObjectId Modifier and Type Method Description static ObjectIdChangeIdUtil. computeChangeId(ObjectId treeId, ObjectId firstParentId, PersonIdent author, PersonIdent committer, String message)Compute a Change-Id.static StringChangeIdUtil. insertId(String message, ObjectId changeId)Find the right place to insert a Change-Id and return it.static StringChangeIdUtil. insertId(String message, ObjectId changeId, boolean replaceExisting)Find the right place to insert a Change-Id and return it.
-