Uses of Interface
org.eclipse.jgit.lib.Ref
Packages that use Ref
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by API commands.
Distributed file system based repository storage.
File based repository storage.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Building/rendering revision graphs.
Walking revision graphs (commit history).
Transport (fetch/push) for different protocols.
Utility classes.
-
Uses of Ref in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api with type parameters of type RefModifier and TypeFieldDescriptionCherryPickResult.cherryPickedRefsCherryPickCommand.commitsMergeCommand.commitsRevertCommand.commitsNameRevCommand.refsRevertCommand.revertedRefsprivate final Comparator<Ref>DescribeCommand.TAG_TIE_BREAKERMethods in org.eclipse.jgit.api that return RefModifier and TypeMethodDescriptionCheckoutCommand.call()CreateBranchCommand.call()RenameBranchCommand.call()ResetCommand.call()TagCommand.call()private RefCloneCommand.findBranchToCheckout(FetchResult result) private RefRebaseCommand.getHead()private RefStashCreateCommand.getHead()private RefStashDropCommand.getRef()private RefTagCommand.updateTagRef(ObjectId tagId, RevWalk revWalk, String tagName, String newTagToString) Methods in org.eclipse.jgit.api that return types with arguments of type RefModifier and TypeMethodDescriptionListBranchCommand.call()ListTagCommand.call()LsRemoteCommand.call()LsRemoteCommand.callAsMap()Same asLsRemoteCommand.call(), but return Map instead of Collection.LsRemoteCommand.execute()private Collection<Ref>ListBranchCommand.filterRefs(Collection<Ref> refs) DescribeCommand.getBestMatch(List<Ref> tags) CherryPickResult.getCherryPickedRefs()Get the cherry-pickedRefsRevertCommand.getRevertedRefs()Get the list of successfully revertedRef's.Methods in org.eclipse.jgit.api with parameters of type RefModifier and TypeMethodDescriptionAdd a reference to push.private voidCloneCommand.addMergeConfig(Repository clonedRepo, Ref head) Add a ref to the set that all results must match.private voidprivate StringCherryPickCommand.calculateOurName(Ref headRef) private StringRevertCommand.calculateOurName(Ref headRef) private RefUpdateStashDropCommand.createRefUpdate(Ref stashRef) private voidprivate booleanDescribeCommand.filterLightweightTags(Ref ref) Whether we use lightweight tags or not for describe Candidatesprivate static StringRebaseCommand.getHeadName(Ref head) private ObjectIdDescribeCommand.getObjectIdFromRef(Ref r) private StringCheckoutCommand.getShortBranchName(Ref headRef) Include a reference to a commitReference to a commit to be merged with the current headInclude aRefto a commit to be revertedprivate StringDescribeCommand.longDescription(Ref tag, int depth, ObjectId tip) private RevCommitCloneCommand.parseCommit(Repository clonedRepo, Ref ref) private voidMethod parameters in org.eclipse.jgit.api with type arguments of type RefModifier and TypeMethodDescriptionprivate Collection<Ref>ListBranchCommand.filterRefs(Collection<Ref> refs) DescribeCommand.getBestMatch(List<Ref> tags) Constructor parameters in org.eclipse.jgit.api with type arguments of type RefModifierConstructorDescriptionCherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs) Constructor for CherryPickResult -
Uses of Ref in org.eclipse.jgit.api.errors
Fields in org.eclipse.jgit.api.errors declared as RefMethods in org.eclipse.jgit.api.errors that return RefConstructors in org.eclipse.jgit.api.errors with parameters of type RefModifierConstructorDescriptionConcurrentRefUpdateException(String message, Ref ref, RefUpdate.Result rc) Constructor for ConcurrentRefUpdateException.ConcurrentRefUpdateException(String message, Ref ref, RefUpdate.Result rc, Throwable cause) Constructor for ConcurrentRefUpdateException. -
Uses of Ref in org.eclipse.jgit.awtui
Methods in org.eclipse.jgit.awtui with parameters of type Ref -
Uses of Ref in org.eclipse.jgit.internal.storage.dfs
Fields in org.eclipse.jgit.internal.storage.dfs declared as RefFields in org.eclipse.jgit.internal.storage.dfs with type parameters of type RefModifier and TypeFieldDescriptionDfsRefDatabase.RefCache.idsprivate Collection<Ref>DfsGarbageCollector.refsBeforeDfsRefDatabase.RefCache.symMethods in org.eclipse.jgit.internal.storage.dfs that return RefModifier and TypeMethodDescription(package private) RefRead a single reference.Read a single reference.Find a reference by name.Peel a possibly unpeeled reference by traversing the annotated tags.Peel a possibly unpeeled reference by traversing the annotated tags.(package private) static Refprivate RefMethods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type RefModifier and TypeMethodDescriptionDfsRefDatabase.getAdditionalRefs()Get the additional reference-like entities from the repository.private Collection<Ref>DfsGarbageCollector.getAllRefs()Get a section of the reference namespace.Get a section of the reference namespace.DfsReftableDatabase.getRefsByPrefix(String prefix) Returns refs whose names start with a given prefix.DfsReftableDatabase.getRefsByPrefixWithExclusions(String include, Set<String> excludes) Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.DfsReftableDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type RefModifier and TypeMethodDescriptionprotected voidDfsRefDatabase.cachePeeledState(Ref oldLeaf, Ref newLeaf) Update the cached peeled state of a referenceprotected voidDfsReftableDatabase.cachePeeledState(Ref oldLeaf, Ref newLeaf) Update the cached peeled state of a referenceprotected abstract booleanDfsRefDatabase.compareAndPut(Ref oldRef, Ref newRef) Compare a reference, and put if it matches.protected booleanDfsReftableDatabase.compareAndPut(Ref oldRef, Ref newRef) Compare a reference, and put if it matches.protected abstract booleanDfsRefDatabase.compareAndRemove(Ref oldRef) Compare a reference, and delete if it matches.protected booleanDfsReftableDatabase.compareAndRemove(Ref oldRef) Compare a reference, and delete if it matches.(package private) Refprivate static booleanprivate static booleanPeel a possibly unpeeled reference by traversing the annotated tags.Peel a possibly unpeeled reference by traversing the annotated tags.Obtain a modified copy of the cache with a ref stored.(package private) static Refprivate Ref(package private) void(package private) voidMethod parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type RefModifier and TypeMethodDescriptionprotected voidDfsReftableBatchRefUpdate.applyUpdates(List<Ref> newRefs, List<ReceiveCommand> pending) private Refprivate voidDfsGarbageCollector.writeReftable(DfsPackDescription pack, Collection<Ref> refs) Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type RefConstructor parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type Ref -
Uses of Ref in org.eclipse.jgit.internal.storage.file
Subinterfaces of Ref in org.eclipse.jgit.internal.storage.fileClasses in org.eclipse.jgit.internal.storage.file that implement RefModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static final classprivate static final classFields in org.eclipse.jgit.internal.storage.file declared as RefFields in org.eclipse.jgit.internal.storage.file with type parameters of type RefModifier and TypeFieldDescriptionprivate Collection<Ref>the refs which existed during the last call toGC.repack().(package private) final RefList.Builder<Ref>RefDirectory.LooseScanner.symbolicMethods in org.eclipse.jgit.internal.storage.file that return RefModifier and TypeMethodDescriptionprivate RefRead a single reference.Read a single reference.RefDirectory.firstExactRef(String... refs) Find the first named reference.Peel a possibly unpeeled reference by traversing the annotated tags.Peel a possibly unpeeled reference by traversing the annotated tags.private RefRefDirectory.peeledPackedRef(Ref f) Make sure a ref is peeled and has the Storage PACKED.private static RefPackedBatchRefUpdate.peeledRef(RevWalk walk, ReceiveCommand cmd) private RefRefDirectory.readAndResolve(String name, RefList<Ref> packed) private Refprivate static Refprivate static RefRefDirectory.recreate(Ref old, ObjectIdRef leaf) private static RefFileReftableDatabase.refForWrite(RevWalk rw, Ref r) private RefRefDirectory.resolve(Ref ref, int depth, String prefix, RefList<RefDirectory.LooseRef> loose, RefList<Ref> packed) Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type RefModifier and TypeMethodDescriptionPackedBatchRefUpdate.applyUpdates(RevWalk walk, RefList<Ref> refs, List<ReceiveCommand> commands) Read the specified references.FileReftableDatabase.getAdditionalRefs()Get the additional reference-like entities from the repository.RefDirectory.getAdditionalRefs()Get the additional reference-like entities from the repository.private Collection<Ref>GC.getAllRefs()Returns a collection of all refs and additional refs.FileReftableDatabase.getRefs()Returns all refs.Get a section of the reference namespace.Get a section of the reference namespace.FileReftableDatabase.getRefsByPrefixWithExclusions(String include, Set<String> excludes) Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.RefDirectory.parsePackedRefs(BufferedReader br) Methods in org.eclipse.jgit.internal.storage.file with parameters of type RefModifier and TypeMethodDescriptionprivate Refprivate ObjectIdRefprivate static booleanprivate static booleanprivate static booleanGC.listRefLogObjects(Ref ref, long minTime) Peel a possibly unpeeled reference by traversing the annotated tags.Peel a possibly unpeeled reference by traversing the annotated tags.private RefRefDirectory.peeledPackedRef(Ref f) Make sure a ref is peeled and has the Storage PACKED.private static Refprivate static RefRefDirectory.recreate(Ref old, ObjectIdRef leaf) private static RefFileReftableDatabase.refForWrite(RevWalk rw, Ref r) private RefRefDirectory.resolve(Ref ref, int depth, String prefix, RefList<RefDirectory.LooseRef> loose, RefList<Ref> packed) Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type RefModifier and TypeMethodDescriptionprotected voidFileReftableDatabase.FileReftableBatchRefUpdate.applyUpdates(List<Ref> newRefs, List<ReceiveCommand> pending) PackedBatchRefUpdate.applyUpdates(RevWalk walk, RefList<Ref> refs, List<ReceiveCommand> commands) (package private) RefDirectory.PackedRefListRefDirectory.commitPackedRefs(LockFile lck, RefList<Ref> refs, RefDirectory.PackedRefList oldPackedList, boolean changed) private RefRefDirectory.readAndResolve(String name, RefList<Ref> packed) private RefConstructors in org.eclipse.jgit.internal.storage.file with parameters of type RefModifierConstructorDescription(package private)FileReftableRefUpdate(Ref ref) (package private)LooseSymbolicRef(FileSnapshot snapshot, String refName, Ref target) (package private)RefDirectoryUpdate(RefDirectory r, Ref ref) Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type RefModifierConstructorDescriptionprivatePackedRefList(RefList<Ref> src, FileSnapshot s, ObjectId i) -
Uses of Ref in org.eclipse.jgit.internal.storage.reftable
Fields in org.eclipse.jgit.internal.storage.reftable declared as RefModifier and TypeFieldDescription(package private) RefMergedReftable.FilteringMergedRefCursor.filteredRef(package private) final RefBlockWriter.RefEntry.refprivate RefMergedReftable.MergedRefCursor.refprivate RefReftableReader.ObjCursorImpl.refprivate RefReftableReader.RefCursorImpl.refMethods in org.eclipse.jgit.internal.storage.reftable that return RefModifier and TypeMethodDescriptionLookup a reference, or null if not found.Read a single reference.MergedReftable.FilteringMergedRefCursor.getRef()MergedReftable.MergedRefCursor.getRef()abstract RefRefCursor.getRef()Get reference at the current position.ReftableReader.ObjCursorImpl.getRef()ReftableReader.RefCursorImpl.getRef()private static Ref(package private) RefBlockReader.readRef(long minUpdateIndex) Resolve a symbolic reference to populate its value.private RefMethods in org.eclipse.jgit.internal.storage.reftable that return types with arguments of type RefModifier and TypeMethodDescriptionReftableDatabase.getRefsByPrefix(String prefix) Returns refs whose names start with a given prefix.ReftableDatabase.getRefsByPrefixWithExclusions(String include, Set<String> excludes) Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.ReftableDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.ReftableBatchRefUpdate.toNewRefs(RevWalk rw, List<ReceiveCommand> pending) Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type RefModifier and TypeMethodDescriptionprivate voidprivate static booleanReftableBatchRefUpdate.matchOld(ReceiveCommand cmd, Ref ref) private static byte[]Resolve a symbolic reference to populate its value.private Refstatic ReceiveCommandprivate static ObjectIdvoidWrite one reference to the reftable.voidWrite one reference to the reftable.Method parameters in org.eclipse.jgit.internal.storage.reftable with type arguments of type RefModifier and TypeMethodDescriptionprotected abstract voidReftableBatchRefUpdate.applyUpdates(List<Ref> newRefs, List<ReceiveCommand> pending) Implements the storage-specific part of the update.static ReftableReftable.from(Collection<Ref> refs) References to convert into a reftableReftableWriter.sortAndWriteRefs(Collection<Ref> refsToPack) Sort a collection of references and write them to the reftable.protected voidReftableBatchRefUpdate.write(ReftableWriter writer, List<Ref> newRefs, List<ReceiveCommand> pending) Writes the refs to the writer, and calls finish.Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type Ref -
Uses of Ref in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib that implement RefModifier and TypeClassDescriptionclassstatic classA reference to a non-tag object coming from a cached source.static classAn annotated tag whose peeled object has been cached.static classAny reference whose peeled value is not yet known.classA reference that indirectly points at anotherRef.Fields in org.eclipse.jgit.lib declared as RefModifier and TypeFieldDescriptionprivate final RefRefUpdate.refprivate final RefSymbolicRef.targetFields in org.eclipse.jgit.lib with type parameters of type RefMethods in org.eclipse.jgit.lib that return RefModifier and TypeMethodDescriptionabstract RefRead a single reference.final RefGet a ref by name.final RefRead a single reference.static RefTry to find the specified name in the ref map usingRefDatabase.SEARCH_PATH.final RefSearch for a ref by (possibly abbreviated) name.RefDatabase.firstExactRef(String... refs) Find the first named reference.ObjectIdRef.getLeaf()Traverse target references untilisSymbolic()is false.Ref.getLeaf()Traverse target references untilisSymbolic()is false.SymbolicRef.getLeaf()Traverse target references untilisSymbolic()is false.final RefDeprecated.RefUpdate.getRef()Get the reference this update will create or modify.ObjectIdRef.getTarget()Get the reference this reference points to, orthis.Ref.getTarget()Get the reference this reference points to, orthis.SymbolicRef.getTarget()Get the reference this reference points to, orthis.abstract RefPeel a possibly unpeeled reference by traversing the annotated tags.Deprecated.usegetRefDatabase().peel(ref)instead.Methods in org.eclipse.jgit.lib that return types with arguments of type RefModifier and TypeMethodDescriptionRead the specified references.RefDatabase.getAdditionalRefs()Get the additional reference-like entities from the repository.Repository.getAllRefs()Deprecated.usegetRefDatabase().getRefs()instead.Map<AnyObjectId,Set<Ref>> Repository.getAllRefsByPeeledObjectId()Get a map with all objects referenced by a peeled ref.RefDatabase.getRefs()Returns all refs.Deprecated.useRefDatabase.getRefsByPrefix(java.lang.String)insteadRefDatabase.getRefsByPrefix(String prefix) Returns refs whose names start with a given prefix.RefDatabase.getRefsByPrefix(String... prefixes) Returns refs whose names start with one of the given prefixes.RefDatabase.getRefsByPrefixWithExclusions(String include, Set<String> excludes) Returns refs whose names start with a given prefix excluding all refs that start with one of the given prefixes.Repository.getTags()Deprecated.usegetRefDatabase().getRefsByPrefix(R_TAGS)insteadRefDatabase.getTipsWithSha1(ObjectId id) Returns all refs that resolve directly to the givenObjectId.static Collection<Ref>RefComparator.sort(Collection<Ref> refs) Sorts the collection of refs, returning a new collection.Methods in org.eclipse.jgit.lib with parameters of type RefModifier and TypeMethodDescriptionintstatic intCompare a reference to a name.static intCompare two references by name.abstract RefPeel a possibly unpeeled reference by traversing the annotated tags.Deprecated.usegetRefDatabase().peel(ref)instead.private RevCommitRepository.resolveReflog(RevWalk rw, Ref ref, String time) Method parameters in org.eclipse.jgit.lib with type arguments of type RefModifier and TypeMethodDescriptionstatic RefTry to find the specified name in the ref map usingRefDatabase.SEARCH_PATH.static Collection<Ref>RefComparator.sort(Collection<Ref> refs) Sorts the collection of refs, returning a new collection.Constructors in org.eclipse.jgit.lib with parameters of type RefModifierConstructorDescriptionprotectedConstruct a new update operation for the reference.SymbolicRef(String refName, Ref target) Create a new ref pairing.SymbolicRef(String refName, Ref target, long updateIndex) Create a new ref pairing.Constructor parameters in org.eclipse.jgit.lib with type arguments of type Ref -
Uses of Ref in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type RefModifier and TypeMethodDescriptionConstruct the merge commit message.Construct the squashed commit message.Method parameters in org.eclipse.jgit.merge with type arguments of type Ref -
Uses of Ref in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm with type parameters of type RefMethods in org.eclipse.jgit.pgm that return RefMethods in org.eclipse.jgit.pgm that return types with arguments of type RefMethods in org.eclipse.jgit.pgm with parameters of type RefModifier and TypeMethodDescriptionprivate voidprivate booleanMerge.isMergedInto(Ref oldHead, AnyObjectId src) private voidBranch.printHead(ObjectReader reader, String ref, boolean isCurrent, Ref refObj) private voidMethod parameters in org.eclipse.jgit.pgm with type arguments of type RefModifier and TypeMethodDescriptionprivate voidBranch.addRefs(Collection<Ref> refs, String prefix) -
Uses of Ref in org.eclipse.jgit.pgm.debug
Methods in org.eclipse.jgit.pgm.debug that return types with arguments of type RefModifier and TypeMethodDescriptionRebuildCommitGraph.computeNewRefs()BenchmarkReftable.readLsRemote()Methods in org.eclipse.jgit.pgm.debug with parameters of type RefModifier and TypeMethodDescriptionprivate voidprivate voidMethod parameters in org.eclipse.jgit.pgm.debug with type arguments of type RefModifier and TypeMethodDescriptionprivate voidVerifyReftable.byId(List<Ref> refs, ReftableReader reader) private voidVerifyReftable.scan(List<Ref> refs, ReftableReader reader) private voidVerifyReftable.seek(List<Ref> refs, ReftableReader reader) -
Uses of Ref in org.eclipse.jgit.revplot
Fields in org.eclipse.jgit.revplot declared as RefModifier and TypeFieldDescription(package private) static final Ref[]PlotCommit.NO_REFS(package private) Ref[]PlotCommit.refsFields in org.eclipse.jgit.revplot with type parameters of type RefModifier and TypeFieldDescriptionprivate Map<AnyObjectId,Set<Ref>> PlotWalk.additionalRefMapprivate Map<AnyObjectId,Set<Ref>> PlotWalk.reverseRefMapMethods in org.eclipse.jgit.revplot that return RefModifier and TypeMethodDescriptionfinal RefPlotCommit.getRef(int nth) Get the nth Ref from this commit's ref list.private Ref[]PlotWalk.getRefs(AnyObjectId commitId) Methods in org.eclipse.jgit.revplot with parameters of type RefModifier and TypeMethodDescriptionintprotected abstract intDraw a decoration for the Ref ref at x,y(package private) intMethod parameters in org.eclipse.jgit.revplot with type arguments of type RefModifier and TypeMethodDescriptionvoidPlotWalk.addAdditionalRefs(Iterable<Ref> refs) Add additional refs to the walk -
Uses of Ref in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that return types with arguments of type RefModifier and TypeMethodDescriptionRevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs) Find the list of branches a given commit is reachable from when following parents.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs, ProgressMonitor monitor) Find the list of branches a given commit is reachable from when following parents.RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs) Determine the Refs into which a commit is merged.RevWalk.getMergedInto(RevCommit needle, Collection<Ref> haystacks, Enum returnStrategy, ProgressMonitor monitor) RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs, ProgressMonitor monitor) Determine the Refs into which a commit is merged.Method parameters in org.eclipse.jgit.revwalk with type arguments of type RefModifier and TypeMethodDescriptionRevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs) Find the list of branches a given commit is reachable from when following parents.RevWalkUtils.findBranchesReachableFrom(RevCommit commit, RevWalk revWalk, Collection<Ref> refs, ProgressMonitor monitor) Find the list of branches a given commit is reachable from when following parents.RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs) Determine the Refs into which a commit is merged.RevWalk.getMergedInto(RevCommit needle, Collection<Ref> haystacks, Enum returnStrategy, ProgressMonitor monitor) RevWalk.getMergedInto(RevCommit commit, Collection<Ref> refs, ProgressMonitor monitor) Determine the Refs into which a commit is merged.booleanRevWalk.isMergedIntoAll(RevCommit commit, Collection<Ref> refs) Determine if acommitis merged into all of the givenrefs.booleanRevWalk.isMergedIntoAny(RevCommit commit, Collection<Ref> refs) Determine if acommitis merged into any of the givenrefs. -
Uses of Ref in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as RefFields in org.eclipse.jgit.transport with type parameters of type RefModifier and TypeFieldDescriptionBaseConnection.advertisedRefsOperationResult.advertisedRefsFetchProcess.askForSet of refs we will actually wind up asking to obtain.FetchProcess.localRefsWalkPushConnection.newRefsComplete listing of refs the remote will have after our push.ReceivePack.refsThe refs we advertised as existing at the start of the connection.UploadPack.refsRefs eligible for advertising to the client, set usingUploadPack.setAdvertisedRefs(java.util.Map<java.lang.String, org.eclipse.jgit.lib.Ref>).Methods in org.eclipse.jgit.transport that return RefModifier and TypeMethodDescriptionprivate RefFind a ref in the usual search path on behalf of the client.final RefOperationResult.getAdvertisedRef(String name) Get a single advertised ref by name.final RefGet a single advertised ref by name.Get a single advertised ref by name.ReceiveCommand.getRef()Get the ref, if this was advertised by the connection.private Refprivate RefMethods in org.eclipse.jgit.transport that return types with arguments of type RefModifier and TypeMethodDescriptionRead refs on behalf of the client.private Collection<Ref>FetchProcess.expandAutoFollowTags()Filters aMapof refs before it is advertised to the client.ReceivePack.getAdvertisedOrDefaultRefs()Get advertised refs, or the default if not explicitly advertised.UploadPack.getAdvertisedOrDefaultRefs()AbstractAdvertiseRefsHook.getAdvertisedRefs(Repository repository, RevWalk revWalk) Get the refs to advertise.OperationResult.getAdvertisedRefs()Get the complete list of refs advertised by the remote.ReceivePack.getAdvertisedRefs()Get refs which were advertised to the client.UploadPack.getAdvertisedRefs()Get refs which were advertised to the client.ReceivePack.getAllRefs()Extract the full list of refs from the ref-db.UploadPack.getAllRefs()Extract the full list of refs from the ref-db.UploadPack.getFilteredRefs(Collection<String> refPrefixes) final Collection<Ref>BaseConnection.getRefs()Get the complete list of refs advertised as available for fetching or pushing.Connection.getRefs()Get the complete list of refs advertised as available for fetching or pushing.BaseConnection.getRefsMap()Get the complete map of refs advertised as available for fetching or pushing.Connection.getRefsMap()Get the complete map of refs advertised as available for fetching or pushing.UploadPack.importantRefsFirst(Collection<Ref> visibleRefs) FetchProcess.localRefs()Returns the specified references.TransportHttp.HttpObjectDB.readAdvertisedImpl(BufferedReader br) TransportAmazonS3.DatabaseS3.readAdvertisedRefs()TransportSftp.SftpObjectDB.readAdvertisedRefs()Methods in org.eclipse.jgit.transport with parameters of type RefModifier and TypeMethodDescriptionprivate voidFetchProcess.deleteTrackingRef(FetchResult result, BatchRefUpdate batch, RefSpec spec, Ref localRef) RefSpec.expandFromDestination(Ref r) Expand this specification to exactly match a ref.RefSpec.expandFromSource(Ref r) Expand this specification to exactly match a ref.voidInclude a single ref (a name/object pair) in the bundle.private static booleanprivate Ref.Storageprivate Ref.StoragebooleanRefSpec.matchDestination(Ref r) Does this specification's destination description match the ref?booleanRefSpec.matchSource(Ref r) Does this specification's source description match the ref?private static ObjectIdUploadPack.refToObjectId(Ref ref) (package private) voidprivate voidprivate voidMethod parameters in org.eclipse.jgit.transport with type arguments of type RefModifier and TypeMethodDescriptionprotected voidDenote the list of refs available on the remote repository.private static voidUploadPack.checkNotAdvertisedWants(UploadPack up, List<ObjectId> notAdvertisedWants, Collection<Ref> visibleRefs) 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.private voidBasePackFetchConnection.doFetchV2(ProgressMonitor monitor, Collection<Ref> want, OutputStream outputStream) private voidFetchProcess.expandSingle(RefSpec spec, Set<Ref> matched) private voidFetchProcess.expandWildcard(RefSpec spec, Set<Ref> matched) 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.Filters aMapof refs before it is advertised to the client.private static voidUploadPack.findSymrefs(RefAdvertiser adv, Map<String, Ref> refs) UploadPack.importantRefsFirst(Collection<Ref> visibleRefs) private booleanFetchProcess.isInitialBranchMissing(Map<String, Ref> refsMap, String initialBranch) Returns the specified references.private intBasePackFetchConnection.maxTimeWanted(Collection<Ref> wants) private voidprivate voidBasePackConnection.processLineV2(String line, ObjectId id, String rest, Map<String, Ref> avail, Map<String, String> symRefs) private voidWalkFetchConnection.queueWants(Collection<Ref> want) private voidTransportAmazonS3.DatabaseS3.readLooseRefs(TreeMap<String, Ref> avail) private voidprotected voidWalkRemoteObjectDatabase.readPackedRefs(Map<String, Ref> avail) Read a standard Git packed-refs file to discover known references.private voidWalkRemoteObjectDatabase.readPackedRefsImpl(Map<String, Ref> avail, BufferedReader br) private Refprivate RefUploadPack.refIdSet(Collection<Ref> refs) RefAdvertiser.send(Collection<Ref> refs) Format an advertisement for the supplied refs.Deprecated.useRefAdvertiser.send(Collection)instead.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.private booleanBasePackFetchConnection.sendWants(Collection<Ref> want, PacketLineOut p) (package private) voidOperationResult.setAdvertisedRefs(URIish u, Map<String, Ref> ar) voidSet the refs advertised by this ReceivePack.voidUploadPack.setAdvertisedRefs(Map<String, Ref> allRefs) Set the refs advertised by this UploadPack.(package private) static voidUpdates the given refMap withSymbolicRefs defined by the given symRefs.Constructors in org.eclipse.jgit.transport with parameters of type RefModifierConstructorDescriptionRemoteRefUpdate(Repository localDb, Ref srcRef, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification. -
Uses of Ref in org.eclipse.jgit.util
Classes in org.eclipse.jgit.util with type parameters of type RefModifier and TypeClassDescriptionclassSpecialized variant of an ArrayList to support aRefDatabase.static classRefList.Builder<T extends Ref>Builder to facilitate fast construction of an immutable RefList.Fields in org.eclipse.jgit.util declared as RefModifier and TypeFieldDescriptionprivate Ref[]RefList.Builder.list(package private) final Ref[]RefList.listprivate RefRefMap.Ent.refFields in org.eclipse.jgit.util with type parameters of type RefModifier and TypeFieldDescriptionRefList.EMPTYRefMap.entrySetRefMap.looseImmutable collection of the loose references at construction time.RefMap.SetIterator.nextRefMap.packedImmutable collection of the packed references at construction time.RefMap.resolvedImmutable collection of resolved symbolic references.Methods in org.eclipse.jgit.util with type parameters of type RefModifier and TypeMethodDescriptionRefList.emptyList()Create an empty unmodifiable reference list.RefList.toRefList(BinaryOperator<T> mergeFunction) Methods in org.eclipse.jgit.util that return RefModifier and TypeMethodDescriptionRefMap.Ent.getValue()private RefRefMap.SetIterator.resolveLoose(Ref l) Methods in org.eclipse.jgit.util that return types with arguments of type RefModifier and TypeMethodDescriptionRefList.asList()Castthisas an immutable, standardList.RefMap.entrySet()RefList.iterator()RefMap.SetIterator.next()RefMap.SetIterator.peek()RefMap.toRefMap(BinaryOperator<Ref> mergeFunction) Methods in org.eclipse.jgit.util with parameters of type RefModifier and TypeMethodDescriptionvoidAdd all items from a source array.private RefRefMap.SetIterator.resolveLoose(Ref l) private RefMap.Ent(package private) StringMethod parameters in org.eclipse.jgit.util with type arguments of type RefConstructors in org.eclipse.jgit.util with parameters of type RefModifierConstructorDescription(package private)(package private)Constructor parameters in org.eclipse.jgit.util with type arguments of type Ref
RefDatabase.findRef(String)instead.