Class RefDirectory.LooseNonTag
- java.lang.Object
-
- org.eclipse.jgit.lib.ObjectIdRef
-
- org.eclipse.jgit.lib.ObjectIdRef.PeeledNonTag
-
- org.eclipse.jgit.internal.storage.file.RefDirectory.LooseNonTag
-
- All Implemented Interfaces:
RefDirectory.LooseRef
,Ref
- Enclosing class:
- RefDirectory
private static final class RefDirectory.LooseNonTag extends ObjectIdRef.PeeledNonTag 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
Fields Modifier and Type Field Description private FileSnapshot
snapShot
-
Fields inherited from interface org.eclipse.jgit.lib.Ref
UNDEFINED_UPDATE_INDEX
-
-
Constructor Summary
Constructors Constructor Description LooseNonTag(FileSnapshot snapshot, java.lang.String refName, ObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSnapshot
getSnapShot()
RefDirectory.LooseRef
peel(ObjectIdRef newLeaf)
-
Methods inherited from class org.eclipse.jgit.lib.ObjectIdRef.PeeledNonTag
getPeeledObjectId, isPeeled
-
Methods inherited from class org.eclipse.jgit.lib.ObjectIdRef
getLeaf, getName, getObjectId, 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, getObjectId, getPeeledObjectId, getStorage, getTarget, getUpdateIndex, isPeeled, isSymbolic
-
-
-
-
Field Detail
-
snapShot
private final FileSnapshot snapShot
-
-
Constructor Detail
-
LooseNonTag
LooseNonTag(FileSnapshot snapshot, @NonNull java.lang.String refName, @NonNull ObjectId id)
-
-
Method Detail
-
getSnapShot
public FileSnapshot getSnapShot()
- Specified by:
getSnapShot
in interfaceRefDirectory.LooseRef
-
peel
public RefDirectory.LooseRef peel(ObjectIdRef newLeaf)
- Specified by:
peel
in interfaceRefDirectory.LooseRef
-
-