Class PullRequestEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PullRequestActivityEvent,PullRequestAutoMergeCancelledEvent,PullRequestAutoMergeRequestedEvent,PullRequestCancelableCommentEvent,PullRequestCommentEvent,PullRequestDeclinedEvent,PullRequestDeletedEvent,PullRequestDeletionRequestedEvent,PullRequestMergedEvent,PullRequestOpenedEvent,PullRequestOpenRequestedEvent,PullRequestParticipantStatusUpdatedEvent,PullRequestParticipantsUpdatedEvent,PullRequestReopenedEvent,PullRequestRescopedEvent,PullRequestReviewersUpdatedEvent,PullRequestReviewEvent,PullRequestUpdatedEvent
Base type for all pull request related events.
This event is internally audited with CoverageLevel.BASE level.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPullRequestEvent(Object source, PullRequest pullRequest, PullRequestAction action) Constructs a newPullRequestEvent. -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestEvent
protected PullRequestEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull PullRequestAction action) Constructs a newPullRequestEvent. All parameters are required.- Parameters:
source- the component raising the eventpullRequest- the affected pull requestaction- the action performed on the pull request
-
-
Method Details
-
getAction
-
getPullRequest
-