public interface

PullRequestMergeActivity

implements PullRequestActivity
com.atlassian.bitbucket.pull.PullRequestMergeActivity

Class Overview

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 can be null if the pull request was merged remotely and pushed rather than being merged via the UI or REST.

See Also

Summary

Public Methods
@Nullable Commit getCommit()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.activity.Activity
From interface com.atlassian.bitbucket.pull.PullRequestActivity

Public Methods

@Nullable public Commit getCommit ()

Returns
  • the merge commit, which may be null if the pull request was merged remotely