com.atlassian.bitbucket.scm.pull.PluginPullRequestCommandFactory |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
in 6.0 for removal in 7.0. Use
changes(PullRequest, PullRequestChangesCommandParameters, ChangeCallback) instead.
| |||||||||||
This method is deprecated.
in 6.0 for removal in 7.0. Use
commits(PullRequest, PullRequestCommitsCommandParameters, CommitCallback) instead.
| |||||||||||
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 |
---|
This method is deprecated.
in 6.0 for removal in 7.0. Use
changes(PullRequest, PullRequestChangesCommandParameters, ChangeCallback)
instead.
pullRequest | the pull request to stream changes for |
---|---|
parameters | parameters describing the changes to stream |
callback | a callback to receive changes |
pullRequest | the pull request to stream changes for |
---|---|
parameters | parameters describing the changes to stream |
callback | a callback to receive changes |
This method is deprecated.
in 6.0 for removal in 7.0. Use
commits(PullRequest, PullRequestCommitsCommandParameters, CommitCallback)
instead.
pullRequest | describes the refs being compared |
---|---|
callback | a callback to receive commits which are unique to the from ref |
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 for which a dry run merge should be performed |
---|