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) |
Modifier and Type | Method and Description |
---|---|
Date |
getLastRunDate() |
ExpiryStatus |
getStatus() |
boolean |
isExpiryRunning() |
com.atlassian.fugue.Option<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)
@NotNull public com.atlassian.fugue.Option<Future<DeploymentExpiryResult>> triggerDeploymentsExpiration()
DeploymentExpiryService
triggerDeploymentsExpiration
in interface DeploymentExpiryService
public boolean isExpiryRunning()
isExpiryRunning
in interface DeploymentExpiryService
@Nullable public Date getLastRunDate()
getLastRunDate
in interface DeploymentExpiryService
@NotNull public ExpiryStatus getStatus()
getStatus
in interface DeploymentExpiryService
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.