Interface RepositoryBuildStatusService
public interface RepositoryBuildStatusService
Manages build
statuses
.- Since:
- 7.6
-
Method Summary
Modifier and TypeMethodDescriptionsearch
(BuildStatusPullRequestSearchRequest request, PageRequest pageRequest) Find build statuses for a pull request that match the given request.search
(BuildStatusRepositorySearchRequest request, PageRequest pageRequest) Search for build statuses that match the given request.void
set
(RepositoryBuildStatusSetRequest request) Create a build status.
-
Method Details
-
search
@Nonnull Page<RepositoryBuildStatus> search(@Nonnull BuildStatusRepositorySearchRequest request, @Nonnull PageRequest pageRequest) Search for build statuses that match the given request.- Parameters:
request
- the request containing the information to filter build statuses bypageRequest
- the page request- Returns:
- a page of matching
RepositoryBuildStatus
-
search
@Nonnull Page<RepositoryBuildStatus> search(@Nonnull BuildStatusPullRequestSearchRequest request, @Nonnull PageRequest pageRequest) Find build statuses for a pull request that match the given request.- Parameters:
request
- the request containing the information to filter build statuses bypageRequest
- the page request- Returns:
- a page of matching
RepositoryBuildStatus
-
set
Create a build status. If a build status with the same key already exists for the commit in the repository, this will replace the existing one. It will replace all fields except for theRepositoryBuildStatus.getCreatedDate()
.- Parameters:
request
- the request containing the information to store
-