public class BuildExpiryBeanImpl extends Object implements BuildExpiryBean
Constructor and Description |
---|
BuildExpiryBeanImpl(ResultsSummaryManager resultsSummaryManager,
PlanManager planManager,
AdministrationConfigurationAccessor administrationConfigurationAccessor,
RepositoryDefinitionManager repositoryDefinitionManager,
ErrorUpdateHandler errorUpdateHandler,
com.atlassian.bandana.BandanaManager bandanaManager,
TransactionAndHibernateTemplate template) |
Modifier and Type | Method and Description |
---|---|
protected long |
expireBuildPlan(BuildExpiryConfig config,
ImmutablePlan plan,
ResultsSummary lastResultsSummary) |
ExpiryStatus |
getStatus() |
Future<Long> |
triggerBuildExpiry()
Triggers build expiry process, which loops through all plans and expires their builds.
|
public BuildExpiryBeanImpl(ResultsSummaryManager resultsSummaryManager, PlanManager planManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, RepositoryDefinitionManager repositoryDefinitionManager, ErrorUpdateHandler errorUpdateHandler, com.atlassian.bandana.BandanaManager bandanaManager, TransactionAndHibernateTemplate template)
@NotNull public Future<Long> triggerBuildExpiry()
BuildExpiryBean
triggerBuildExpiry
in interface BuildExpiryBean
@NotNull public ExpiryStatus getStatus()
getStatus
in interface BuildExpiryBean
protected long expireBuildPlan(@NotNull BuildExpiryConfig config, @NotNull ImmutablePlan plan, @NotNull ResultsSummary lastResultsSummary)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.