@TransactionAware public class

PullRequestEvent

extends StashEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.pull.PullRequestEvent
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base type for all pull request related events.

This event is internally audited with a LOW priority

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
@Deprecated PullRequestEvent(Object source, PullRequest pullRequest, PullRequestAction action)
This constructor is deprecated. in 2.4. This constructor will become protected in 3.0.
Public Methods
@Nonnull PullRequestAction getAction()
@Nonnull PullRequest getPullRequest()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

@Deprecated public PullRequestEvent (Object source, PullRequest pullRequest, PullRequestAction action)

This constructor is deprecated.
in 2.4. This constructor will become protected in 3.0.

Constructs a new PullRequestEvent. All parameters are required.

Parameters
source the component raising the event
pullRequest the affected pull request
action the action performed on the pull request

Public Methods

@Nonnull public PullRequestAction getAction ()

@Nonnull public PullRequest getPullRequest ()