@Deprecated public interface

PluginPullRequestCommandFactory2

implements PluginPullRequestCommandFactory
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

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