com.atlassian.stash.scm.PluginCommandFactory2 |
This interface is deprecated.
in 3.7 for removal in 4.0. In 4.0 this interface's methods will be folded into
PluginCommandFactory
and become a mandatory part of the SCM contract.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves a page of
changesets given a set of ChangesetsCommandParameters#getCommitIds
commit IDs, where each changeset includes the first page of changes
between a requested commit and its first parent. | |||||||||||
Streams commits which match the provided CommitsCommandParameters paramters to the provided callback.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.stash.scm.PluginCommandFactory
|
Retrieves a page of changesets
given a set of ChangesetsCommandParameters#getCommitIds
commit IDs, where each changeset includes the first page of changes
between a requested commit and its first parent.
repository | the repository to retrieve changesets from |
---|---|
parameters | parameters describing the changesets to retrieve |
pageRequest | describes the page of changesets to retrieve |
Streams commits which match the provided CommitsCommandParameters paramters to the provided callback.
Implementors: SCMs are required to support this operation. However, they are not required
to support CommitsCommandParameters#getSecondaryRepository() secondary repositories unless they offer
ScmFeature#CROSS_REPOSITORY cross-repository support. If a secondary repository is provided and cross-
repository operations are not supported, implementations should throw an UnsupportedOperationException
.
repository | the repository to retrieve commits from |
---|---|
parameters | parameters describing the commits to retrieve |
callback | a callback to receive the streamed commits |
UnsupportedOperationException | if a CommitsCommandParameters#getSecondaryRepository() secondary repository is provided an ScmFeature#CROSS_REPOSITORY cross- repository operations are not supported |
---|