org.kohsuke.github
Class GHRef
java.lang.Object
org.kohsuke.github.GHRef
public class GHRef
- extends Object
Provides information on a Git ref from GitHub.
- Author:
- Michael Clarke
|
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 |
GHRef
public GHRef()
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.