public class

PullRequestMergedNotification

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

Summary

Public Constructors
PullRequestMergedNotification(PullRequest pullRequest, Date whenActivityPerformed, StashUser activityPerformer, MinimalChangeset changeset)
Public Methods
@Deprecated @Nullable MinimalChangeset getChangeset()
This method is deprecated. in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Due to the significant number of touchpoints, the deprecated classes and interfaces will be left in for an entire major release cycle, rather than being removed in 4.0. Callers should use getCommit() instead.
@Nullable MinimalCommit getCommit()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.stash.notification.pull.AbstractPullRequestNotification
From class com.atlassian.stash.notification.AbstractNotification
From class java.lang.Object
From interface com.atlassian.stash.notification.Notification
From interface com.atlassian.stash.notification.pull.PullRequestNotification

Public Constructors

public PullRequestMergedNotification (PullRequest pullRequest, Date whenActivityPerformed, StashUser activityPerformer, MinimalChangeset changeset)

Public Methods

@Deprecated @Nullable public MinimalChangeset getChangeset ()

This method is deprecated.
in 3.7 for removal in 5.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Due to the significant number of touchpoints, the deprecated classes and interfaces will be left in for an entire major release cycle, rather than being removed in 4.0. Callers should use getCommit() instead.

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

@Nullable public MinimalCommit getCommit ()

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

public String toString ()