Interface ScmBulkContentCommandFactory


public interface ScmBulkContentCommandFactory
Since:
4.2
  • 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, including display IDs, will not work.

      Parameters:
      parameters - parameters describing the commits to stream
      callback - 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 stream
      callback - 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 traversal
      callback - 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