Interface IntegrityCheckCallback
public interface IntegrityCheckCallback
Used by an SCM to report integrity check results as they become available.
- Since:
- 4.12
- 
Method SummaryModifier and TypeMethodDescriptionvoidonError(com.atlassian.bitbucket.i18n.KeyedMessage message) Called when the SCM encounters a problem that cannot be expressed in terms of pull requests or repositories.voidonError(com.atlassian.bitbucket.repository.Repository repository, com.atlassian.bitbucket.i18n.KeyedMessage message) Called when the SCM encounters a problem while checking the integrity of a specific repository.voidonExtraPullRequest(com.atlassian.bitbucket.repository.Repository repository, long pullRequestId) Invoked when the SCM encounters a pull request that does not exist according to the host application.voidonMissingPullRequest(com.atlassian.bitbucket.repository.Repository repository, long pullRequestId) Invoked when the required SCM-level data for a pull request is missing.
- 
Method Details- 
onErrorvoid onError(@Nonnull com.atlassian.bitbucket.i18n.KeyedMessage message) Called when the SCM encounters a problem that cannot be expressed in terms of pull requests or repositories.- Parameters:
- message- a detailed description that can be used by administrators to debug the problem
 
- 
onErrorvoid onError(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull com.atlassian.bitbucket.i18n.KeyedMessage message) Called when the SCM encounters a problem while checking the integrity of a specific repository.- Parameters:
- repository- the repository in which the error originated
- message- a detailed description that can be used by administrators to debug the problem
 
- 
onExtraPullRequestvoid onExtraPullRequest(@Nonnull com.atlassian.bitbucket.repository.Repository repository, long pullRequestId) Invoked when the SCM encounters a pull request that does not exist according to the host application.- Parameters:
- repository- the repository in which the pull request resides
- pullRequestId- the ID of the pull request
 
- 
onMissingPullRequestvoid onMissingPullRequest(@Nonnull com.atlassian.bitbucket.repository.Repository repository, long pullRequestId) Invoked when the required SCM-level data for a pull request is missing.- Parameters:
- repository- the repository in which the pull request resides
- pullRequestId- the ID of the pull request
 
 
-