public interface IntegrityCheckContext
Modifier and Type | Method and Description |
---|---|
OptionalLong |
getLatestPullRequestId(com.atlassian.bitbucket.repository.Repository repository)
Allows SCMs to obtain the highest / latest pull request found in the database
|
Stream<com.atlassian.bitbucket.repository.Repository> |
getRepositories()
Allows SCMs to request a
stream of repositories to check for consistency. |
@Nonnull OptionalLong getLatestPullRequestId(@Nonnull com.atlassian.bitbucket.repository.Repository repository)
repository
- the target repositoryID
of the latest pull request, or empty()
if none have been created@Nonnull Stream<com.atlassian.bitbucket.repository.Repository> getRepositories()
stream
of repositories to check for consistency.
Note: This will only return repositories
that belong to the current SCM.
SCMs implementations will not receive repositories
they do not support.
stream
of repository
instances.Copyright © 2024 Atlassian. All rights reserved.