| com.atlassian.bitbucket.scm.pull.PluginPullRequestCommandFactory | 
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Deletes repository data associated with the specified pull request. | |||||||||||
| Attempt to merge the pull request to determine what the expected result of actually merging it would be. | |||||||||||
| parameters | describes the repository and provides a context for the command to use to retrieve affected rescopes and apply updates | 
|---|
Deletes repository data associated with the specified pull request.
 SCMs must not delete the from or to refs.
 This command is intended to delete any internal, SCM-specific data the SCM tracks for pull requests. For
 example, if an SCM maintains additional commits or merges, or cached data such as change, diff or conflict
 details used to speed up other operations, or extra refs used to allow that data to be fetched, those are the
 types of data implementations of this command should remove.
 
 Even if an SCM does not track any additional data beyond the refs involved in the pull request, the returned
 Command must be non-null. Such SCMs may wish to leverage the default implementation, which
 returns a command that does nothing when called.
| pullRequest | the pull request to delete | 
|---|---|
| parameters | parameters providing context for the deleted pull request | 
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.
| pullRequest | the pull request to test for merge-ability | 
|---|