public interface

PullRequestMergeActivity

implements PullRequestActivity
com.atlassian.stash.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 not merged by Stash.

See Also

Summary

Public Methods
@Deprecated @Nullable Changeset getChangeset()
This method is deprecated. in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Use getCommit() instead.
@Nullable Commit getCommit()
[Expand]
Inherited Methods
From interface com.atlassian.stash.activity.Activity
From interface com.atlassian.stash.pull.PullRequestActivity

Public Methods

@Deprecated @Nullable public Changeset getChangeset ()

This method is deprecated.
in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. Use getCommit() instead.

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

@Nullable public Commit getCommit ()

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