Interface PluginIntegrityCheckCommandFactory
public interface PluginIntegrityCheckCommandFactory
A Command factory for SCM integrity checks.
- Since:
- 4.12
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.scm.CommandResult>
checkIntegrity
(IntegrityCheckContext context, IntegrityCheckCallback callback) Instructs an SCM to perform integrity checks.
-
Method Details
-
checkIntegrity
@Nonnull com.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.scm.CommandResult> checkIntegrity(@Nonnull IntegrityCheckContext context, @Nonnull IntegrityCheckCallback callback) Instructs an SCM to perform integrity checks. SCMs should use thecontext
to obtain additional information needed to perform checks. Inconsistencies should be reported using the providedcallback
.- Parameters:
context
- a context to be used to obtain additional informationcallback
- 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
.
-