public class Tag extends GitObject
| Modifier and Type | Field and Description |
|---|---|
String |
commitMessage
Commit message of the tagged commit
|
String |
commitSHA1
SHA1 hash of the tagged commit
|
| Constructor and Description |
|---|
Tag(String name,
ObjectId sha1)
Constructor for Tag.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommitMessage()
Getter for the field
commitMessage. |
String |
getCommitSHA1()
Get the sha1 of the commit associated with this tag
|
void |
setCommitMessage(String commitMessage)
Setter for the field
commitMessage. |
void |
setCommitSHA1(String commitSHA1)
Setter for the field
commitSHA1. |
getName, getSHA1, getSHA1Stringpublic String commitSHA1
public String commitMessage
public String getCommitMessage()
commitMessage.String object.public void setCommitMessage(String commitMessage)
commitMessage.commitMessage - a String object.public String getCommitSHA1()
String object.Copyright © 2013–2017. All rights reserved.