| com.atlassian.stash.scm.pull.PluginPullRequestCommandFactory2 |
This interface is deprecated.
in 3.7 for removal in 4.0. In 4.0 this interface's methods will be folded into
PluginPullRequestCommandFactory and become a mandatory part of the SCM contract.
Summary
| Public Methods |
|
@Nonnull
Command<Void>
|
commits(PullRequest pullRequest, CommitCallback callback)
|
|
[Expand]
Inherited Methods |
From interface
com.atlassian.stash.scm.pull.PluginPullRequestCommandFactory
|
@Nonnull
Command<Boolean>
|
canMerge(PullRequest pullRequest)
|
|
@Nonnull
Command<Void>
|
changes(PullRequest pullRequest, PullRequestChangeCommandParameters parameters, ChangeCallback callback)
|
|
@Deprecated
@Nonnull
Command<Void>
|
commits(PullRequest pullRequest, ChangesetCallback callback)
This method is deprecated.
in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term
for the data they represent. This method will be replaced by
commits(PullRequest, CommitCallback) in 4.0.
|
|
@Nonnull
Command<Void>
|
diff(PullRequest pullRequest, PullRequestDiffCommandParameters parameters, DiffContentCallback callback)
|
|
@Nonnull
Command<PullRequestEffectiveDiff>
|
effectiveDiff(PullRequest pullRequest)
|
|
@Nonnull
Command<Branch>
|
merge(PullRequest pullRequest, PullRequestMergeCommandParameters parameters)
|
|
@Nonnull
Command<Void>
|
rescope(RepositoryRescopeCommandParameters parameters)
|
|
Public Methods
@Nonnull
public
Command<Void>
commits
(PullRequest pullRequest, CommitCallback callback)
Parameters
| pullRequest
| describes the refs being compared |
| callback
| a callback to receive commits which are unique to the from ref |
Returns
- a command which, when executed, will stream commits referenced by the
from
ref which are not referenced by the to ref