RepositoryBuildStatusService
@Deprecated public interface BuildStatusService
statuses
.Modifier and Type | Method and Description |
---|---|
Page<BuildStatus> |
findAll(String commitId)
Deprecated.
in 6.7 for removal in 8.0. Please use
findAll(String, PageRequest, BuildOrder) |
Page<BuildStatus> |
findAll(String commitId,
PageRequest pageRequest,
BuildOrder orderBy)
Deprecated.
Retrieves a page of
build statuses associated with the specified commit across all
repositories and branches. |
Map<String,BuildSummary> |
getSummaries(Collection<String> commitIds)
Deprecated.
Retrieves
summaries for the builds associated with all of the specified commits across all
repositories and branches. |
BuildSummary |
getSummary(String commitId)
Deprecated.
Retrieves a
summary of all the builds associated with the specified commit across all
repositories and branches. |
void |
set(BuildStatusSetRequest request)
Deprecated.
Sets the build status globally for a commit, replacing any existing global status with the same
key |
@Deprecated @Nonnull Page<BuildStatus> findAll(@Nonnull String commitId)
findAll(String, PageRequest, BuildOrder)
build statuses
associated with the specified commit across all
repositories and branches. By default the page size is 100 and the order is BuildOrder.NEWEST
commitId
- the ID
of the commit to retrieve builds forAuthorisationException
- if the current user is not licensed@Nonnull Page<BuildStatus> findAll(@Nonnull String commitId, @Nonnull PageRequest pageRequest, @Nonnull BuildOrder orderBy)
build statuses
associated with the specified commit across all
repositories and branches.commitId
- the ID
of the commit to retrieve builds forpageRequest
- the page to be returnedorderBy
- the field to order by in addition to descending date orderingAuthorisationException
- if the current user is not licensed@Nonnull BuildSummary getSummary(@Nonnull String commitId)
summary
of all the builds associated with the specified commit across all
repositories and branches.commitId
- the ID
of the commit to retrieve a summary forstats
for all the builds associated with the commitId
.AuthorisationException
- if the current user is not licensed@Nonnull Map<String,BuildSummary> getSummaries(@Nonnull Collection<String> commitIds)
summaries
for the builds associated with all of the specified commits across all
repositories and branches. If any of the specified commits do not have builds associated with them, their ID
will not be included in the returned Map
.commit IDs
to summaries
, which can have a length smaller than
the number of specified commits if any do not have build statuses associated with them.AuthorisationException
- if the current user is not licensedgetSummary(String)
void set(@Nonnull BuildStatusSetRequest request)
key
request
- describes the build status and the commit it should be associated withAuthorisationException
- if the current user is not licensedCopyright © 2022 Atlassian. All rights reserved.