public class

PullRequestMergedNotification

extends AbstractPullRequestNotification
java.lang.Object
   ↳ com.atlassian.bitbucket.notification.AbstractNotification
     ↳ com.atlassian.bitbucket.notification.pull.AbstractPullRequestNotification
       ↳ com.atlassian.bitbucket.notification.pull.PullRequestMergedNotification

Summary

Public Constructors
PullRequestMergedNotification(PullRequest pullRequest, Date timestamp, ApplicationUser user, MinimalCommit commit)
Public Methods
@Nullable MinimalCommit getCommit()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.notification.pull.AbstractPullRequestNotification
From class com.atlassian.bitbucket.notification.AbstractNotification
From class java.lang.Object
From interface com.atlassian.bitbucket.notification.Notification
From interface com.atlassian.bitbucket.notification.pull.PullRequestNotification

Public Constructors

public PullRequestMergedNotification (PullRequest pullRequest, Date timestamp, ApplicationUser user, MinimalCommit commit)

Parameters
pullRequest the pull request that was merged
timestamp the timestamp when the merge was performed
user the user who merged the pull request
commit the resulting merge commit, which may be null if the pull request was merged remotely rather than via the UI

Public Methods

@Nullable public MinimalCommit getCommit ()

Returns
  • the merge commit, which may be null if the pull request was merged remotely

public String toString ()