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 |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
String |
getCommitMessage()
Getter for the field
commitMessage. |
String |
getCommitSHA1()
Get the sha1 of the commit associated with this tag
|
int |
hashCode()
Returns a hash code value for the object.
|
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.public void setCommitSHA1(String commitSHA1)
commitSHA1.commitSHA1 - a String object.public int hashCode()
public boolean equals(Object obj)
Copyright © 2013–2020. All rights reserved.