Class GHTag

java.lang.Object
org.kohsuke.github.GHTag

public class GHTag extends Object
Represents a tag in GHRepository.
See Also:
  • Constructor Details

    • GHTag

      public GHTag()
  • Method Details

    • 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 the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance