public class PullRequestMergedEvent extends Object
| Constructor and Description |
|---|
PullRequestMergedEvent(com.fasterxml.jackson.databind.JsonNode event,
com.fasterxml.jackson.databind.JsonNode commits,
com.fasterxml.jackson.databind.JsonNode reviewComments,
com.fasterxml.jackson.databind.JsonNode comments)
Construct a PullRequestMergedEvent from the github event of type PullRequestEvent which is also merged and closed.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssignees() |
String |
getAuthorAssociation() |
List<String> |
getAuthors() |
List<String> |
getCommenters() |
List<String> |
getCommitters() |
long |
getCreatedTimeMillis() |
long |
getElapsedTimeMillis() |
List<String> |
getLabels() |
String |
getMergedBy() |
long |
getMergedTimeMillis() |
long |
getNumAuthors() |
long |
getNumCommenters() |
long |
getNumComments() |
long |
getNumCommits() |
long |
getNumCommitters() |
long |
getNumFilesChanged() |
long |
getNumLinesAdded() |
long |
getNumLinesDeleted() |
long |
getNumReviewComments() |
long |
getNumReviewers() |
String |
getOrganization() |
String |
getRepo() |
List<String> |
getRequestedReviewers() |
List<String> |
getRequestedTeams() |
List<String> |
getReviewers() |
String |
getTitle() |
String |
getUserId() |
String |
getUserType() |
public PullRequestMergedEvent(com.fasterxml.jackson.databind.JsonNode event,
com.fasterxml.jackson.databind.JsonNode commits,
com.fasterxml.jackson.databind.JsonNode reviewComments,
com.fasterxml.jackson.databind.JsonNode comments)
event - - event of type PullRequestEvent which has action closed and is mergedcommits - - commits data corresponding to the eventreviewComments - - review comments data corresponding to the eventcomments - - comments data corresponding to the eventpublic String getTitle()
public String getUserId()
public String getUserType()
public String getAuthorAssociation()
public String getMergedBy()
public long getNumAuthors()
public String getRepo()
public String getOrganization()
public long getNumComments()
public long getNumReviewComments()
public long getNumCommits()
public long getNumLinesAdded()
public long getNumLinesDeleted()
public long getNumFilesChanged()
public long getNumReviewers()
public long getNumCommenters()
public long getNumCommitters()
public long getCreatedTimeMillis()
public long getElapsedTimeMillis()
public long getMergedTimeMillis()
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.