| com.atlassian.bitbucket.scm.pull.MergeRequest | 
Represents a request to merge a pull request, intended to allow MergeRequestChecks to validate the
 intended merge and, potentially, veto(String, String) it.
MergeRequestCheckService| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Retrieves any additional context that was supplied when the merge was requested. | |||||||||||
| Retrieves the proposed commit message, if one was provided. | |||||||||||
| If called, signifies that the calling check wishes to veto the merge. | |||||||||||
Retrieves any additional context that was supplied when the merge was requested. This context is intended to allow plugin developers to implement their own behavior around pull request merges. As a result, its contents are unspecified; they depend on the installed plugins.
 On dry runs, the context will always be empty.
Retrieves a flag indicating whether this request is for a canMerge check
 or a real merge.
 
 This flag is intended to allow MergeRequestChecks to apply different validation, if necessary, between
 canMerge and merge requests. For example, a MergeRequestCheck to validate the
 commit message would not be applied on a dry run, because the commit message is only
 supplied when the merge is actually performed.
true if a previous MergeRequestCheck has already vetoed the merge;
         otherwise, false
If called, signifies that the calling check wishes to veto the merge.
| summaryMessage | a simple summary of why the merge is being vetoed | 
|---|---|
| detailedMessage | a detailed explanation of why the merge is being vetoed |