Interface PluginCompareCommandFactory
public interface PluginCompareCommandFactory
Specialized command factory to compare two refs.
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bitbucket.scm.Command<Void>changes(com.atlassian.bitbucket.compare.CompareRequest compareRequest, com.atlassian.bitbucket.scm.compare.CompareChangeCommandParameters parameters, com.atlassian.bitbucket.content.ChangeCallback callback) com.atlassian.bitbucket.scm.Command<Void>commits(com.atlassian.bitbucket.compare.CompareRequest compareRequest, com.atlassian.bitbucket.commit.CommitCallback callback) com.atlassian.bitbucket.scm.Command<Void>diff(com.atlassian.bitbucket.compare.CompareRequest compareRequest, com.atlassian.bitbucket.scm.compare.CompareDiffCommandParameters parameters, com.atlassian.bitbucket.content.DiffContentCallback callback)
-
Method Details
-
changes
@Nonnull com.atlassian.bitbucket.scm.Command<Void> changes(@Nonnull com.atlassian.bitbucket.compare.CompareRequest compareRequest, @Nonnull com.atlassian.bitbucket.scm.compare.CompareChangeCommandParameters parameters, @Nonnull com.atlassian.bitbucket.content.ChangeCallback callback) -
commits
@Nonnull com.atlassian.bitbucket.scm.Command<Void> commits(@Nonnull com.atlassian.bitbucket.compare.CompareRequest compareRequest, @Nonnull com.atlassian.bitbucket.commit.CommitCallback callback) - Parameters:
compareRequest- describes the refs being comparedcallback- a callback to receive commits which are unique to thefrom ref- Returns:
- a command which, when executed, will stream commits referenced by the
from refwhich are not referenced by theto ref
-
diff
@Nonnull com.atlassian.bitbucket.scm.Command<Void> diff(@Nonnull com.atlassian.bitbucket.compare.CompareRequest compareRequest, @Nonnull com.atlassian.bitbucket.scm.compare.CompareDiffCommandParameters parameters, @Nonnull com.atlassian.bitbucket.content.DiffContentCallback callback)
-