org.netbeans.libs.git/1 1.1

org.netbeans.libs.git
Class GitTag

java.lang.Object
  extended by org.netbeans.libs.git.GitTag

public final class GitTag
extends Object

Represents a git tag.


Method Summary
 String getMessage()
           
 String getTaggedObjectId()
           
 GitObjectType getTaggedObjectType()
           
 GitUser getTagger()
           
 String getTagId()
           
 String getTagName()
           
 boolean isLightWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

org.netbeans.libs.git/1 1.1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.