org.netbeans.libs.git
Class GitTag
java.lang.Object
org.netbeans.libs.git.GitTag
public final class GitTag
- extends Object
Represents a git tag.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTagId
public String getTagId()
- Returns:
- object id of this tag
getTagName
public String getTagName()
- Returns:
- name of this tag
getTaggedObjectId
public String getTaggedObjectId()
- Returns:
- object id of a tagged object, type of the object is returned by the
getType method.
getMessage
public String getMessage()
- Returns:
- message entered when the tag was created.
getTagger
public GitUser getTagger()
- Returns:
- user who created this tag.
Never
null, an empty person is returned instead when no user can be identified.
getTaggedObjectType
public GitObjectType getTaggedObjectType()
- Returns:
- git object type this tag refers to
isLightWeight
public boolean isLightWeight()
- Returns:
true if the tag is lightweight.