@AsynchronousPreferred public class

PullRequestRescopedEvent

extends PullRequestEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.pull.PullRequestEvent
         ↳ com.atlassian.stash.event.pull.PullRequestRescopedEvent

Class Overview

Event that is raised when the ref for the source-branch and/or the target-branch of a pull request is updated. Note that this not necessarily mean that the list of commits that the pull request covers will change.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
PullRequestRescopedEvent(Object source, PullRequest pullRequest, String previousFromHash, String previousToHash)
Public Methods
@Nonnull String getPreviousFromHash()
@Nonnull String getPreviousToHash()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.pull.PullRequestEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public PullRequestRescopedEvent (Object source, PullRequest pullRequest, String previousFromHash, String previousToHash)

Public Methods

@Nonnull public String getPreviousFromHash ()

@Nonnull public String getPreviousToHash ()