public interface BambooSpecsManager
Modifier and Type | Method and Description |
---|---|
List<VcsLocationBambooSpecsState> |
findByVcsLocationIdOrderBySpecsExecutionDate(long repositoryId,
String branch,
int limit)
Return latest
limit entries for given repository and its branch |
Collection<Long> |
findDeploymentProjectsInOtherStates(VcsLocationBambooSpecsState specsState)
Returns ids pf RSS-managed deployment projects that have been updated in RSS runs other then the one supplied.
|
Optional<VcsLocationBambooSpecsState> |
findLatestState(long rootVcsRepositoryId,
String branch)
Find latest
VcsLocationBambooSpecsState for given repository and branch |
Collection<PlanKey> |
findPlansInOtherStates(VcsLocationBambooSpecsState specsState)
Returns RSS-managed plans that have been updated in RSS runs other then the one supplied.
|
Optional<VcsBambooSpecsSource> |
findSourceById(long specsStateId)
Find
VcsBambooSpecsSource by id. |
List<String> |
findSpecsBranches(long rootVcsRepositoryId,
String searchTerm)
Get all branches from
VcsLocationBambooSpecsState for given repository which match the search term |
List<VcsLocationBambooSpecsState> |
getUnfinishedSpecsScans()
Get all
VcsLocationBambooSpecsState that are in unfinished state |
long |
removeOrphanedSpecStatesNoTx()
Cleanup Bamboo Specs states DB records and log files.
|
void |
save(VcsBambooSpecsSource vcsBambooSpecsSource)
Save new
VcsBambooSpecsSource entity. |
void |
save(VcsLocationBambooSpecsState vcsLocationBambooSpecsState)
Save new
VcsLocationBambooSpecsState entity. |
void |
updateAfterSpecsImport(VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
VcsLocationBambooSpecsState.SpecsImportState specsImportState,
String logFilename)
Update given
VcsLocationBambooSpecsState with specs import results and save it. |
Optional<VcsLocationBambooSpecsState> findLatestState(long rootVcsRepositoryId, @NotNull String branch)
VcsLocationBambooSpecsState
for given repository and branchvoid save(VcsLocationBambooSpecsState vcsLocationBambooSpecsState)
VcsLocationBambooSpecsState
entity.void save(VcsBambooSpecsSource vcsBambooSpecsSource)
VcsBambooSpecsSource
entity.Optional<VcsBambooSpecsSource> findSourceById(long specsStateId)
VcsBambooSpecsSource
by id.@NotNull Collection<PlanKey> findPlansInOtherStates(VcsLocationBambooSpecsState specsState)
@NotNull Collection<Long> findDeploymentProjectsInOtherStates(VcsLocationBambooSpecsState specsState)
@NotNull List<VcsLocationBambooSpecsState> findByVcsLocationIdOrderBySpecsExecutionDate(long repositoryId, @NotNull String branch, int limit)
limit
entries for given repository and its branchvoid updateAfterSpecsImport(VcsLocationBambooSpecsState vcsLocationBambooSpecsState, VcsLocationBambooSpecsState.SpecsImportState specsImportState, String logFilename)
VcsLocationBambooSpecsState
with specs import results and save it.@Internal long removeOrphanedSpecStatesNoTx()
@NotNull List<VcsLocationBambooSpecsState> getUnfinishedSpecsScans()
VcsLocationBambooSpecsState
that are in unfinished state@NotNull List<String> findSpecsBranches(long rootVcsRepositoryId, @NotNull String searchTerm)
VcsLocationBambooSpecsState
for given repository which match the search termCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.