public static class GHEventPayload.Push extends GHEventPayload
| Modifier and Type | Class and Description |
|---|---|
static class |
GHEventPayload.Push.PushCommit
Commit in a push
|
GHEventPayload.IssueComment, GHEventPayload.PullRequest, GHEventPayload.Pushroot| Constructor and Description |
|---|
GHEventPayload.Push() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBefore()
This is undocumented, but it looks like this captures the commit that the ref was pointing to
before the push.
|
List<GHEventPayload.Push.PushCommit> |
getCommits()
The list of pushed commits.
|
String |
getHead()
The SHA of the HEAD commit on the repository
|
String |
getRef()
The full Git ref that was pushed.
|
GHRepository |
getRepository() |
int |
getSize()
The number of commits in the push.
|
public String getHead()
public String getBefore()
public String getRef()
public int getSize()
getCommits().size()?public List<GHEventPayload.Push.PushCommit> getCommits()
public GHRepository getRepository()
Copyright © 2015. All Rights Reserved.