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() throws IOException
getRepository().IOException - the io exceptionpublic GHRepository getRepository()
public String getRef()
public String getSha()
public String getLabel()
public GHCommit getCommit() throws IOException
IOException - the io exceptionCopyright © 2020. All rights reserved.