public class GHCommitPointer
extends java.lang.Object
GHPullRequest.| Constructor and Description |
|---|
GHCommitPointer() |
| Modifier and Type | Method and Description |
|---|---|
GHCommit |
getCommit()
Obtains the commit that this pointer is referring to.
|
java.lang.String |
getLabel()
String that looks like "USERNAME:REF".
|
java.lang.String |
getRef()
Named ref to the commit.
|
GHRepository |
getRepository()
The repository that contains the commit.
|
java.lang.String |
getSha()
SHA1 of the commit.
|
GHUser |
getUser()
This points to the user who owns
the
getRepository(). |
public GHUser getUser()
getRepository().public GHRepository getRepository()
public java.lang.String getRef()
public java.lang.String getSha()
public java.lang.String getLabel()
public GHCommit getCommit() throws java.io.IOException
java.io.IOExceptionCopyright © 2016. All Rights Reserved.