com.atlassian.bitbucket.scm.pull.PluginPullRequestCommandFactory |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
in 4.10 for removal in 5.0. Use
tryMerge(PullRequest) instead.
| |||||||||||
This method is deprecated.
since 4.5, to be removed in 5.0. SCMs should implement
bulkRescope(BulkRescopeCommandParameters) instead. SCMs that implement bulkRescope do not
have to implement this method anymore.
| |||||||||||
Attempt to merge the pull request to determine what the expected result of actually merging it would be.
|
parameters | describes the repository and providies a context for the command to use to retrieve affected rescopes and apply updates |
---|
This method is deprecated.
since 4.5, to be removed in 5.0. SCMs should implement
bulkRescope(BulkRescopeCommandParameters)
instead. SCMs that implement bulkRescope do not
have to implement this method anymore.
parameters | describes the repository and ref changes, as well as providing a context for the command to use to retrieve affected pull requests and apply updates |
---|
Attempt to merge the pull request to determine what the expected result of actually merging it would be.
SCMs are not required to actually attempt the merge. Instead a result
with
UNKNOWN outcome
may be used to indicated that the merge
was not attempted or some unexpected error occurred while attempting the merge.
NOTE: A default implementation is provided which determines the outcome using the canMerge(PullRequest)
call.
However as of 5.0 SCMs will be required to provide their own implementation.
pullRequest | the pull request to test for merge-ability |
---|