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.


Method Summary
 DeploymentInProgress getDeploymentExecutingOnAgent(long agentId)
           
 DeploymentInProgress getDeploymentInProgressById(long deploymentResultId)
           
 Iterable<DeploymentInProgress> getDeploymentsInProgress()
           
 void onAgentAssigned(long deploymentResultId, long agentId)
           
 void onDeploymentFinished(long deploymentResultId)
           
 void onDeploymentStarted(long deploymentResultId, Date date)
           
 void onDeploymentStopped(long deploymentResultId)
           
 void onDeploymentTriggered(DeploymentResult deploymentResult, DeploymentVersion deploymentVersion, Environment environment, DeploymentProject deploymentProject)
           
 Set<DeploymentResultKey> restoreState(Set<Long> restorableResultsIds)
          Restores runtime state of deployments after server restart.
 

Method Detail

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.