Class PullRequestMergedEvent


  • public class PullRequestMergedEvent
    extends Object
    Represents the pull request merged event
    • Constructor Detail

      • PullRequestMergedEvent

        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)
        Construct a PullRequestMergedEvent from the github event of type PullRequestEvent which is also merged and closed. Note that this constructor assumes that the event is valid of this type
        Parameters:
        event - - event of type PullRequestEvent which has action closed and is merged
        commits - - commits data corresponding to the event
        reviewComments - - review comments data corresponding to the event
        comments - - comments data corresponding to the event
    • Method Detail

      • getTitle

        public String getTitle()
      • getUserId

        public String getUserId()
      • getUserType

        public String getUserType()
      • getAuthorAssociation

        public String getAuthorAssociation()
      • getMergedBy

        public String getMergedBy()
      • getReviewers

        public List<String> getReviewers()
      • getCommenters

        public List<String> getCommenters()
      • getNumAuthors

        public long getNumAuthors()
      • getRepo

        public String getRepo()
      • getOrganization

        public String getOrganization()
      • getNumComments

        public long getNumComments()
      • getNumReviewComments

        public long getNumReviewComments()
      • getNumCommits

        public long getNumCommits()
      • getNumLinesAdded

        public long getNumLinesAdded()
      • getNumLinesDeleted

        public long getNumLinesDeleted()
      • getNumFilesChanged

        public long getNumFilesChanged()
      • getNumReviewers

        public long getNumReviewers()
      • getNumCommenters

        public long getNumCommenters()
      • getNumCommitters

        public long getNumCommitters()
      • getCreatedTimeMillis

        public long getCreatedTimeMillis()
      • getElapsedTimeMillis

        public long getElapsedTimeMillis()
      • getMergedTimeMillis

        public long getMergedTimeMillis()
      • getCommitters

        public List<String> getCommitters()
      • getAssignees

        public List<String> getAssignees()
      • getRequestedReviewers

        public List<String> getRequestedReviewers()
      • getRequestedTeams

        public List<String> getRequestedTeams()