public class

PullRequestUpdatedNotification

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

Summary

Public Constructors
PullRequestUpdatedNotification(PullRequest pullRequest, Date whenActivityPerformed, StashUser activityPerformer, String previousTitle, String previousDescription, Ref previousToBranch)
Public Methods
String getPreviousDescription()
String getPreviousTitle()
@Nullable Ref getPreviousToBranch()
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 PullRequestUpdatedNotification (PullRequest pullRequest, Date whenActivityPerformed, StashUser activityPerformer, String previousTitle, String previousDescription, Ref previousToBranch)

Public Methods

public String getPreviousDescription ()

public String getPreviousTitle ()

@Nullable public Ref getPreviousToBranch ()

Returns
  • the previous destination ref if it has changed, otherwise null

public String toString ()