public interface PullRequestMergeActivity extends PullRequestActivity
PullRequestActivity
representing when the pull request was merged.
Note that merging pull requests is delegated to the SCM implementation, which might support multiple strategies for
merging the changes into the target branch. As such the type of the merge commit
should not
be assumed.
Also note that the merge commit
and commit ID
can be null
if the pull request was merged remotely and pushed rather than being merged via the UI or REST.
PullRequestActivityType.MERGE
Modifier and Type | Method and Description |
---|---|
Commit |
getCommit() |
String |
getCommitId() |
boolean |
isRemote() |
accept, getAction, getPullRequest
getCreatedDate, getId, getUser
@Nullable Commit getCommit()
null
if the pull request was merged remotely
or activity has been not enriched@Nullable String getCommitId()
null
if it was done remotelyboolean isRemote()
true
if the merge was done remotely; otherwise, false
if it was done by the systemCopyright © 2022 Atlassian. All rights reserved.