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(@NotNull BuildExpiryConfig config,
@NotNull ImmutablePlan plan,
@NotNull ResultsSummary lastResultsSummary) |
@NotNull ExpiryStatus |
getStatus() |
@NotNull 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 @NotNull Future<Long> triggerBuildExpiry()
BuildExpiryBean
triggerBuildExpiry
in interface BuildExpiryBean
@NotNull public @NotNull ExpiryStatus getStatus()
getStatus
in interface BuildExpiryBean
protected long expireBuildPlan(@NotNull @NotNull BuildExpiryConfig config, @NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull ResultsSummary lastResultsSummary)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.