| com.atlassian.stash.scm.pull.MergeRequestCheck |
Used to enforce a specific precondition for a merge operation.
Merge checks are called for:isDryRun() can be used to determine which operation is in progress, for implementations which
should only be applied to one or the other (but most checks should apply the same way to both).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when a merge has been requested, allowing plugins to apply custom rules to validate whether the merge
should proceed.
| |||||||||||
Called when a merge has been requested, allowing plugins to apply custom rules to validate whether the merge
should proceed. If any MergeRequestCheck vetoes the
merge, it will not be performed. Veto messages from the failed checks will be shown to the merging user.
| request | the merge in progress |
|---|