Package com.atlassian.bitbucket.scm.bulk
Interface ScmBulkContentCommandFactory
public interface ScmBulkContentCommandFactory
- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptioncommits
(BulkCommitsCommandParameters parameters, BulkCommitCallback callback) Streams commits from one or more repositories, providing a set of matching repositories for each.contents
(BulkContentCommandParameters parameters, BulkContentCallback callback) traverseCommits
(BulkTraverseCommitsCommandParameters parameters, BulkTraversalCallback callback) Stream commits from one or more repositories, traversed in topological order.
-
Method Details
-
commits
@Nonnull Command<Void> commits(@Nonnull BulkCommitsCommandParameters parameters, @Nonnull BulkCommitCallback callback) Streams commits from one or more repositories, providing a set of matching repositories for each.Due to the bulk nature of this method, it is required that full
IDs
be used to identify the commits to be streamed. Short IDs, includingdisplay IDs
, will not work.- Parameters:
parameters
- parameters describing the commits to streamcallback
- a callback to receive the requested commits- Returns:
- a command which, when
called
, will stream commits to the provided callback - Since:
- 5.8
-
contents
@Nonnull Command<Void> contents(@Nonnull BulkContentCommandParameters parameters, @Nonnull BulkContentCallback callback) - Parameters:
parameters
- parameters describing the content to streamcallback
- a callback to receive the content- Returns:
- a command which, when
called
, will stream content to the provided callback
-
traverseCommits
@Nonnull Command<Void> traverseCommits(@Nonnull BulkTraverseCommitsCommandParameters parameters, @Nonnull BulkTraversalCallback callback) Stream commits from one or more repositories, traversed in topological order.- Parameters:
parameters
- parameters describing commits to include in the traversalcallback
- the callback to receive the streamed commits- Returns:
- a command which, when
called
, will stream a topological traversal of the specified commits - Since:
- 5.11
-