Package org.kohsuke.github
Class GHTag
- java.lang.Object
-
- org.kohsuke.github.GHTag
-
public class GHTag extends Object
Represents a tag inGHRepository.- See Also:
GHRepository#listTags()
-
-
Constructor Summary
Constructors Constructor Description GHTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GHCommitgetCommit()Gets commit.StringgetName()Gets name.GHRepositorygetOwner()Gets owner.GitHubgetRoot()Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.
-
-
-
Method Detail
-
getOwner
public GHRepository getOwner()
Gets owner.- Returns:
- the owner
-
getName
public String getName()
Gets name.- Returns:
- the name
-
getCommit
public GHCommit getCommit()
Gets commit.- Returns:
- the commit
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHubinstance, use a local copy instead of pulling it out of objects.Get the rootGitHubinstance for this object.- Returns:
- the root
GitHubinstance
-
-