com.atlassian.bamboo.deployments.runtime
Interface DeploymentsInProgressService
- All Known Implementing Classes:
- DeploymentsInProgressServiceImpl
@Internal
@ThreadSafe
public interface DeploymentsInProgressService
Service keeping track of running deployments for UI.
getDeploymentsInProgress
@NotNull
Iterable<DeploymentInProgress> getDeploymentsInProgress()
onDeploymentTriggered
void onDeploymentTriggered(@NotNull
DeploymentResult deploymentResult,
@NotNull
DeploymentVersion deploymentVersion,
@NotNull
Environment environment,
@NotNull
DeploymentProject deploymentProject)
onDeploymentFinished
void onDeploymentFinished(long deploymentResultId)
onDeploymentStarted
void onDeploymentStarted(long deploymentResultId,
Date date)
onAgentAssigned
void onAgentAssigned(long deploymentResultId,
long agentId)
onDeploymentStopped
void onDeploymentStopped(long deploymentResultId)
getDeploymentExecutingOnAgent
@Nullable
DeploymentInProgress getDeploymentExecutingOnAgent(long agentId)
getDeploymentInProgressById
@Nullable
DeploymentInProgress getDeploymentInProgressById(long deploymentResultId)
restoreState
Set<DeploymentResultKey> restoreState(@NotNull
Set<Long> restorableResultsIds)
- Restores runtime state of deployments after server restart.
- Parameters:
restorableResultsIds
-
- Returns:
- keys of successfully restore results
- Since:
- 5.8
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.