public interface MergeRequestCheckService
RepositoryMergeChecks, which can
 be supplied by plugins, to determine whether merges should performed.| Modifier and Type | Method and Description | 
|---|---|
| Collection<com.atlassian.bitbucket.pull.PullRequestMergeVeto> | check(com.atlassian.bitbucket.pull.PullRequest pullRequest)Applies all registered and enabled  RepositoryMergeChecks to determine if a pull request merge should
 proceed. | 
@Nonnull Collection<com.atlassian.bitbucket.pull.PullRequestMergeVeto> check(@Nonnull com.atlassian.bitbucket.pull.PullRequest pullRequest)
RepositoryMergeChecks to determine if a pull request merge should
 proceed. If any check vetoes the MergeRequest then the
 merge should not be performed. A PullRequestMergeVeto will be returned for
 each failed check. If no checks veto the merge it should be allowed to proceed.pullRequest - the pull requestvetoes, where an empty collection
         indicates the merge should be allowed to proceedCopyright © 2024 Atlassian. All rights reserved.