com.atlassian.bamboo.deployments.expiry
Class DeploymentExpiryServiceImpl
java.lang.Object
com.atlassian.bamboo.deployments.expiry.DeploymentExpiryServiceImpl
- All Implemented Interfaces:
- DeploymentExpiryService
public class DeploymentExpiryServiceImpl
- extends Object
- implements DeploymentExpiryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentExpiryServiceImpl
public DeploymentExpiryServiceImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor,
com.atlassian.bandana.BandanaManager bandanaManager,
DeploymentProjectService deploymentProjectService,
DeploymentResultDeletionService deploymentResultDeletionService,
DeploymentResultService deploymentResultService,
DeploymentVersionDeletionService deploymentVersionDeletionService,
DeploymentVersionService deploymentVersionService,
EnvironmentService environmentService)
triggerDeploymentsExpiration
@NotNull
public com.atlassian.fugue.Option<Future<DeploymentExpiryResult>> triggerDeploymentsExpiration()
- Description copied from interface:
DeploymentExpiryService
- Run deployment expiration according to configuration stored in AdministrationConfiguration
- Specified by:
triggerDeploymentsExpiration
in interface DeploymentExpiryService
isExpiryRunning
public boolean isExpiryRunning()
- Specified by:
isExpiryRunning
in interface DeploymentExpiryService
- Returns:
- true if background expiration is running
getLastRunDate
@Nullable
public Date getLastRunDate()
- Specified by:
getLastRunDate
in interface DeploymentExpiryService
- Returns:
- date of last expiry date or null if never run
getStatus
@NotNull
public ExpiryStatus getStatus()
- Specified by:
getStatus
in interface DeploymentExpiryService
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.