public interface BambooSpecsManager
Modifier and Type | Method and Description |
---|---|
List<VcsLocationBambooSpecsState> |
findByVcsLocationIdOrderBySpecsExecutionDate(long repositoryId,
int limit)
Return latest
limit entries from repositoryId |
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) |
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) |
long |
removeOrphanedSpecStates()
Cleanup Bamboo Specs states DB records and log files.
|
void |
save(VcsBambooSpecsSource vcsBambooSpecsSource) |
void |
save(VcsLocationBambooSpecsState vcsLocationBambooSpecsState) |
void |
updateAfterSpecsImport(VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
VcsLocationBambooSpecsState.SpecsImportState specsImportState,
String logFilename) |
Optional<VcsLocationBambooSpecsState> findLatestState(long rootVcsRepositoryId, String branch)
void save(VcsLocationBambooSpecsState vcsLocationBambooSpecsState)
void save(VcsBambooSpecsSource vcsBambooSpecsSource)
Optional<VcsBambooSpecsSource> findSourceById(long specsStateId)
@NotNull Collection<PlanKey> findPlansInOtherStates(VcsLocationBambooSpecsState specsState)
@NotNull Collection<Long> findDeploymentProjectsInOtherStates(VcsLocationBambooSpecsState specsState)
@NotNull List<VcsLocationBambooSpecsState> findByVcsLocationIdOrderBySpecsExecutionDate(long repositoryId, int limit)
limit
entries from repositoryId
void updateAfterSpecsImport(VcsLocationBambooSpecsState vcsLocationBambooSpecsState, VcsLocationBambooSpecsState.SpecsImportState specsImportState, String logFilename)
@Internal long removeOrphanedSpecStates()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.