org.kohsuke.github
Class GHRef

java.lang.Object
  extended by org.kohsuke.github.GHRef

public class GHRef
extends Object

Provides information on a Git ref from GitHub.

Author:
Michael Clarke

Nested Class Summary
static class GHRef.GHObject
           
 
Constructor Summary
GHRef()
           
 
Method Summary
 GHRef.GHObject getObject()
          The object that this ref points to.
 String getRef()
          Name of the ref, such as "refs/tags/abc"
 URL getUrl()
          The API URL of this tag, such as https://api.github.com/repos/jenkinsci/jenkins/git/refs/tags/1.312
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHRef

public GHRef()
Method Detail

getRef

public String getRef()
Name of the ref, such as "refs/tags/abc"


getUrl

public URL getUrl()
The API URL of this tag, such as https://api.github.com/repos/jenkinsci/jenkins/git/refs/tags/1.312


getObject

public GHRef.GHObject getObject()
The object that this ref points to.



Copyright © 2013. All Rights Reserved.