public class DeploymentExpiryServiceImpl extends Object implements DeploymentExpiryService
Constructor and Description |
---|
DeploymentExpiryServiceImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor,
com.atlassian.bandana.BandanaManager bandanaManager,
DeploymentProjectService deploymentProjectService,
DeploymentResultDeletionService deploymentResultDeletionService,
DeploymentResultService deploymentResultService,
DeploymentVersionDeletionService deploymentVersionDeletionService,
DeploymentVersionService deploymentVersionService,
EnvironmentService environmentService,
ResultsSummaryManager resultsSummaryManager,
ArtifactLinkManager artifactLinkManager) |
Modifier and Type | Method and Description |
---|---|
@NotNull ExpiryStatus |
getStatus() |
@NotNull Optional<Future<DeploymentExpiryResult>> |
triggerDeploymentsExpiration()
Run deployment expiration according to configuration stored in AdministrationConfiguration
|
public DeploymentExpiryServiceImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.bandana.BandanaManager bandanaManager, DeploymentProjectService deploymentProjectService, DeploymentResultDeletionService deploymentResultDeletionService, DeploymentResultService deploymentResultService, DeploymentVersionDeletionService deploymentVersionDeletionService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, ResultsSummaryManager resultsSummaryManager, ArtifactLinkManager artifactLinkManager)
@NotNull public @NotNull Optional<Future<DeploymentExpiryResult>> triggerDeploymentsExpiration()
DeploymentExpiryService
triggerDeploymentsExpiration
in interface DeploymentExpiryService
@NotNull public @NotNull ExpiryStatus getStatus()
getStatus
in interface DeploymentExpiryService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.