public interface

GitBulkContentCommandFactory

implements PluginBulkContentCommandFactory
com.atlassian.bitbucket.scm.git.command.GitBulkContentCommandFactory

Class Overview

Overrides methods from the standard PluginBulkContentCommandFactory interface and returns GitCommand instances instead of simple Command or AsyncCommand instances. This allows commands created by this factory to be used synchronously or asynchronously at the caller's discretion, rather than fixing execution to one approach or the other.

This interface does not add any commands to the standard interface. It only covariantly adjusts their return types.

Summary

Public Methods
@Nonnull GitCommand<Void> contents(Repository repository, BulkContentCommandParameters parameters, BulkContentCallback callback)
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.scm.bulk.PluginBulkContentCommandFactory

Public Methods

@Nonnull public GitCommand<Void> contents (Repository repository, BulkContentCommandParameters parameters, BulkContentCallback callback)

Parameters
repository the repository to get contents from
parameters to specify where to get contents from
callback to process resulting content
Returns
  • the command