public interface

PluginIntegrityCheckCommandFactory

com.atlassian.bitbucket.scm.integrity.PluginIntegrityCheckCommandFactory

Class Overview

A Command factory for SCM integrity checks.

Summary

Public Methods
@Nonnull Command<CommandResult> checkIntegrity(IntegrityCheckContext context, IntegrityCheckCallback callback)
Instructs an SCM to perform integrity checks.

Public Methods

@Nonnull public Command<CommandResult> checkIntegrity (IntegrityCheckContext context, IntegrityCheckCallback callback)

Instructs an SCM to perform integrity checks. SCMs should use the context to obtain additional information needed to perform checks. Inconsistencies should be reported using the provided callback.

Parameters
context a context to be used to obtain additional information
callback a callback to report inconsistencies
Returns
  • a result indicating the status of the integrity check command, this is not to be confused with the results reported via the callback.