|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.github.GHEventPayload
org.kohsuke.github.GHEventPayload.Push
public static class GHEventPayload.Push
A commit was pushed.
| Nested Class Summary | |
|---|---|
static class |
GHEventPayload.Push.PushCommit
Commit in a push |
| Nested classes/interfaces inherited from class org.kohsuke.github.GHEventPayload |
|---|
GHEventPayload.IssueComment, GHEventPayload.PullRequest, GHEventPayload.Push |
| Field Summary |
|---|
| Fields inherited from class org.kohsuke.github.GHEventPayload |
|---|
root |
| Constructor Summary | |
|---|---|
GHEventPayload.Push()
|
|
| Method Summary | |
|---|---|
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. |
int |
getSize()
The number of commits in the push. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHEventPayload.Push()
| Method Detail |
|---|
public String getHead()
public String getBefore()
public String getRef()
public int getSize()
getCommits().size()?
public List<GHEventPayload.Push.PushCommit> getCommits()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||