org.eclipse.jgit.revwalk.RevWalk
and obtain a org.eclipse.jgit.revwalk.RevTag instance by calling
org.eclipse.jgit.revwalk.RevWalk#parseTag(AnyObjectId) .
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private ObjectId | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: this object in the canonical annotated tag format, suitable for storage in a repository.Implements abstract org. Format this builder's state as an annotated tag object. |
| public ObjectId | |
| public int | Returns: the type of object this tag refers to.Get the type of object this tag refers to. |
| public String | Returns: short name of the tag (norefs/tags/ prefix).Get short name of the tag (no |
| public PersonIdent | |
| public void | setObjectId(AnyObjectId
the object. obj, int the type of objType)obj. Must be a valid type code.Set the object this tag refers to, and its type. |
| public void | setObjectId(RevObject
the object the tag will refer to. obj)Set the object this tag refers to, and infer its type. |
| public void | |
| public void | |
| public String |
| hobject | back to summary |
|---|---|
| private static final byte[] hobject | |
| htag | back to summary |
|---|---|
| private static final byte[] htag | |
| htagger | back to summary |
|---|---|
| private static final byte[] htagger | |
| htype | back to summary |
|---|---|
| private static final byte[] htype | |
| object | back to summary |
|---|---|
| private ObjectId object | |
| tag | back to summary |
|---|---|
| private String tag | |
| type | back to summary |
|---|---|
| private int type | |
| TagBuilder | back to summary |
|---|---|
| public TagBuilder() | |
| build | back to summary |
|---|---|
| public byte[] build() throws UnsupportedEncodingException Implements abstract org. Format this builder's state as an annotated tag object.
| |
| getObjectId | back to summary |
|---|---|
| public ObjectId getObjectId() Get the object this tag refers to.
| |
| getObjectType | back to summary |
|---|---|
| public int getObjectType() Get the type of object this tag refers to.
| |
| getTag | back to summary |
|---|---|
| public String getTag() Get short name of the tag (no
| |
| getTagger | back to summary |
|---|---|
| public PersonIdent getTagger() Get creator of this tag.
| |
| setObjectId | back to summary |
|---|---|
| public void setObjectId(AnyObjectId obj, int objType) Set the object this tag refers to, and its type.
| |
| setObjectId | back to summary |
|---|---|
| public void setObjectId(RevObject obj) Set the object this tag refers to, and infer its type.
| |
| setTag | back to summary |
|---|---|
| public void setTag(String shortName) Set the name of this tag.
| |
| setTagger | back to summary |
|---|---|
| public void setTagger(PersonIdent taggerIdent) Set the creator of this tag.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |