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.UnpeeledNested 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, isPeeledMethods inherited from class org.eclipse.jgit.lib.ObjectIdRef
getLeaf, getName, getStorage, getTarget, getUpdateIndex, isSymbolic, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getSnapShotin interfaceRefDirectory.LooseRef
-
getObjectId
Description copied from class:ObjectIdRefCached value of this ref.- Specified by:
getObjectIdin interfaceRef- Overrides:
getObjectIdin classObjectIdRef- Returns:
- the value of this ref at the last time we read it. May be
nullto indicate a ref that does not exist yet or a symbolic ref pointing to an unborn branch.
-
peel
- Specified by:
peelin interfaceRefDirectory.LooseRef
-