Class PullRequestAutoMergeCancelledEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestAutoMergeCancelledEvent
- All Implemented Interfaces:
Serializable
Event that is raised when auto-merge is cancelled for a pull request.
Note: If a pull request is either a draft
or closed
while auto-merge is requested for it, this event will not be published.
- Since:
- 8.15
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPullRequestAutoMergeCancelledEvent
(Object source, PullRequest pullRequest, AutoMergeCancelledReason reason) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.pull.PullRequestEvent
getAction, getPullRequest
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestAutoMergeCancelledEvent
public PullRequestAutoMergeCancelledEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull AutoMergeCancelledReason reason)
-
-
Method Details
-
getReason
-