Class RefDirectory.LooseUnpeeled
java.lang.Object
org.eclipse.jgit.lib.ObjectIdRef
org.eclipse.jgit.lib.ObjectIdRef.Unpeeled
org.eclipse.jgit.internal.storage.file.RefDirectory.LooseUnpeeled
- All Implemented Interfaces:
RefDirectory.LooseRef
,Ref
- Enclosing class:
- RefDirectory
private static final class RefDirectory.LooseUnpeeled
extends ObjectIdRef.Unpeeled
implements RefDirectory.LooseRef
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.lib.ObjectIdRef
ObjectIdRef.PeeledNonTag, ObjectIdRef.PeeledTag, ObjectIdRef.Unpeeled
Nested classes/interfaces inherited from interface org.eclipse.jgit.lib.Ref
Ref.Storage
-
Field Summary
FieldsFields inherited from interface org.eclipse.jgit.lib.Ref
UNDEFINED_UPDATE_INDEX
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.lib.ObjectIdRef.Unpeeled
getPeeledObjectId, isPeeled
Methods inherited from class org.eclipse.jgit.lib.ObjectIdRef
getLeaf, getName, getStorage, getTarget, getUpdateIndex, isSymbolic, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jgit.lib.Ref
getLeaf, getName, getPeeledObjectId, getStorage, getTarget, getUpdateIndex, isPeeled, isSymbolic
-
Field Details
-
snapShot
-
-
Constructor Details
-
LooseUnpeeled
LooseUnpeeled(FileSnapshot snapShot, @NonNull String refName, @NonNull ObjectId id)
-
-
Method Details
-
getSnapShot
- Specified by:
getSnapShot
in interfaceRefDirectory.LooseRef
-
getObjectId
Description copied from class:ObjectIdRef
Cached value of this ref.- Specified by:
getObjectId
in interfaceRef
- Overrides:
getObjectId
in classObjectIdRef
- Returns:
- the value of this ref at the last time we read it. May be
null
to indicate a ref that does not exist yet or a symbolic ref pointing to an unborn branch.
-
peel
- Specified by:
peel
in interfaceRefDirectory.LooseRef
-