| com.atlassian.bitbucket.scm.git.command.GitExtendedCommandFactory |
Class Overview
Overrides methods from the standard PluginExtendedCommandFactory 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.
Public Methods
Parameters
| repository
| the repository containing the starting commit |
| parameters
| parameters describing the path to stream modifications for, and the starting commit for
the traversal |
| callback
| a callback to receive the latest commit for files in the specified path |
Returns
- a command to stream the latest commit to modify each files in the specified path, or
null if
streaming last modifications is not supported