Class PullRequestParticipantStatusUpdatedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestParticipantStatusUpdatedEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PullRequestParticipantReviewedEvent
,PullRequestParticipantUnapprovedEvent
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
PullRequestParticipantStatusUpdatedEvent
(Object source, PullRequest pullRequest, PullRequestAction action, PullRequestParticipant participant, PullRequestParticipantStatus previousStatus) Constructs a newPullRequestEvent
. -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
-
PullRequestParticipantStatusUpdatedEvent
protected PullRequestParticipantStatusUpdatedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull PullRequestAction action, @Nonnull PullRequestParticipant participant, @Nonnull PullRequestParticipantStatus previousStatus) Constructs a newPullRequestEvent
. All parameters are required.- Parameters:
source
- the component raising the eventpullRequest
- the affected pull requestaction
- the action performed on the pull requestparticipant
- the participant whose status has been updatedStatuspreviousStatus
- the participant status before the update
-
-
Method Details
-
getParticipant
-
getPreviousStatus
-