@AsynchronousPreferred public class

PullRequestUpdatedEvent

extends PullRequestEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.pull.PullRequestEvent
         ↳ com.atlassian.bitbucket.event.pull.PullRequestUpdatedEvent

Class Overview

Event that is raised when the pull request title, description, or target branch are updated.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
PullRequestUpdatedEvent(Object source, PullRequest pullRequest, String previousTitle, String previousDescription, Ref previousToBranch)
Public Methods
@Nullable String getPreviousDescription()
@Nonnull String getPreviousTitle()
@Nullable Ref getPreviousToBranch()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.pull.PullRequestEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public PullRequestUpdatedEvent (Object source, PullRequest pullRequest, String previousTitle, String previousDescription, Ref previousToBranch)

Public Methods

@Nullable public String getPreviousDescription ()

@Nonnull public String getPreviousTitle ()

@Nullable public Ref getPreviousToBranch ()

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