public interface

PluginCompareCommandFactory

com.atlassian.stash.scm.compare.PluginCompareCommandFactory
Known Indirect Subclasses

Class Overview

Specialized command factory to compare two refs.

Summary

Public Methods
@Nonnull Command<Void> changes(CompareRequest compareRequest, CompareChangeCommandParameters parameters, ChangeCallback callback)
@Deprecated @Nonnull Command<Void> commits(CompareRequest compareRequest, ChangesetCallback callback)
This method is deprecated. in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. This method will be replaced by commits(CompareRequest, CommitCallback) in 4.0.
@Nonnull Command<Void> diff(CompareRequest compareRequest, CompareDiffCommandParameters parameters, DiffContentCallback callback)

Public Methods

@Nonnull public Command<Void> changes (CompareRequest compareRequest, CompareChangeCommandParameters parameters, ChangeCallback callback)

@Deprecated @Nonnull public Command<Void> commits (CompareRequest compareRequest, ChangesetCallback callback)

This method is deprecated.
in 3.7 for removal in 4.0. All things "changeset" are being renamed to "commit", the more common term for the data they represent. This method will be replaced by commits(CompareRequest, CommitCallback) in 4.0.

Parameters
compareRequest describes the refs being compared
callback a callback to receive commits which are unique to the from ref
Returns
  • a command which, when executed, will stream commits referenced by the from ref which are not referenced by the to ref

@Nonnull public Command<Void> diff (CompareRequest compareRequest, CompareDiffCommandParameters parameters, DiffContentCallback callback)