Package com.atlassian.bitbucket.pull
Interface PullRequestMergeActivity
- All Superinterfaces:
Activity,PullRequestActivity
A
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.
- See Also:
-
Method Summary
Methods inherited from interface com.atlassian.bitbucket.activity.Activity
getCreatedDate, getId, getUserMethods inherited from interface com.atlassian.bitbucket.pull.PullRequestActivity
accept, getAction, getPullRequest
-
Method Details
-
getCommit
- Returns:
- the merge commit, which may be
nullif the pull request was merged remotely or activity has been not enriched
-
getCommitId
- Returns:
- the merge commit ID, if the merge was performed by the system, or
nullif it was done remotely - Since:
- 7.15
-
isAutoMerge
boolean isAutoMerge()- Returns:
trueif the pull request wasauto-mergedby the system on behalf of a user; otherwisefalse- Since:
- 8.14
-
isRemote
boolean isRemote()- Returns:
trueif the merge was done remotely; otherwise,falseif it was done by the system- Since:
- 7.15
-