public interface IntegrityCheckCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(com.atlassian.bitbucket.i18n.KeyedMessage message)
Called when the SCM encounters a problem that cannot be expressed in terms of pull requests or
repositories.
|
void |
onError(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.
|
void |
onExtraPullRequest(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.
|
void |
onMissingPullRequest(com.atlassian.bitbucket.repository.Repository repository,
long pullRequestId)
Invoked when the required SCM-level data for a pull request is missing.
|
void onError(@Nonnull com.atlassian.bitbucket.i18n.KeyedMessage message)
message
- a detailed description that can be used by administrators to debug the problemvoid onError(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull com.atlassian.bitbucket.i18n.KeyedMessage message)
repository
- the repository in which the error originatedmessage
- a detailed description that can be used by administrators to debug the problemvoid onExtraPullRequest(@Nonnull com.atlassian.bitbucket.repository.Repository repository, long pullRequestId)
repository
- the repository in which the pull request residespullRequestId
- the ID of the pull requestvoid onMissingPullRequest(@Nonnull com.atlassian.bitbucket.repository.Repository repository, long pullRequestId)
repository
- the repository in which the pull request residespullRequestId
- the ID of the pull requestCopyright © 2024 Atlassian. All rights reserved.