public class GHCommitPointer extends Object
GHPullRequest.| Constructor and Description |
|---|
GHCommitPointer() |
| Modifier and Type | Method and Description |
|---|---|
GHCommit |
getCommit()
Obtains the commit that this pointer is referring to.
|
String |
getLabel()
String that looks like "USERNAME:REF".
|
String |
getRef()
Named ref to the commit.
|
GHRepository |
getRepository()
The repository that contains the commit.
|
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 String getRef()
public String getSha()
public String getLabel()
public GHCommit getCommit() throws IOException
IOExceptionCopyright © 2017. All rights reserved.