@TransactionAware public class PullRequestEvent extends ApplicationEvent
This event is internally audited with a LOW priority.
source
Modifier | Constructor and Description |
---|---|
protected |
PullRequestEvent(Object source,
PullRequest pullRequest,
PullRequestAction action)
Constructs a new
PullRequestEvent . |
Modifier and Type | Method and Description |
---|---|
PullRequestAction |
getAction() |
PullRequest |
getPullRequest() |
getDate, getUser
getSource, toString
protected PullRequestEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull PullRequestAction action)
PullRequestEvent
. All parameters are required.source
- the component raising the eventpullRequest
- the affected pull requestaction
- the action performed on the pull request@Nonnull public PullRequestAction getAction()
@Nonnull public PullRequest getPullRequest()
Copyright © 2019 Atlassian. All rights reserved.