com.atlassian.bamboo.deployments.execution.events
Class DeploymentTimingPoints

java.lang.Object
  extended by com.atlassian.bamboo.deployments.execution.events.DeploymentTimingPoints
All Implemented Interfaces:
DeploymentTimingPoint, TimingPoint, java.io.Serializable
Direct Known Subclasses:
DeploymentTimingPoints.AgentAssigned, DeploymentTimingPoints.ExecutionCancelled, DeploymentTimingPoints.ExecutionFinished, DeploymentTimingPoints.ExecutionStarted, DeploymentTimingPoints.Queued

public abstract class DeploymentTimingPoints
extends java.lang.Object
implements DeploymentTimingPoint

See Also:
Serialized Form

Nested Class Summary
static class DeploymentTimingPoints.AgentAssigned
          Deployment was picked up from the queue by agent
static class DeploymentTimingPoints.ExecutionCancelled
          Deployment execution was cancelled on agent
static class DeploymentTimingPoints.ExecutionFinished
          Deployment execution was finished on agent
static class DeploymentTimingPoints.ExecutionStarted
          Deployment execution was started on agent
static class DeploymentTimingPoints.Queued
          Deployment was put to the queue
 
Constructor Summary
protected DeploymentTimingPoints(long deploymentResultId, java.util.Date date)
           
 
Method Summary
static DeploymentTimingPoints.AgentAssigned agentAssigned(DeploymentContext context, java.util.Date date, long agentId)
           
static DeploymentTimingPoints.ExecutionCancelled executionCancelled(java.lang.Long deploymentResultId, java.util.Date date, boolean buildActuallyCancelled)
           
static DeploymentTimingPoints.ExecutionFinished executionFinished(DeploymentContext context, java.util.Date date)
           
static DeploymentTimingPoints.ExecutionStarted executionStarted(DeploymentContext context, java.util.Date date)
           
 java.util.Date getDate()
           
 long getDeploymentResultId()
           
static DeploymentTimingPoints.Queued queued(DeploymentContext context, java.util.Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentTimingPoints

protected DeploymentTimingPoints(long deploymentResultId,
                                 @NotNull
                                 java.util.Date date)
Method Detail

executionCancelled

public static DeploymentTimingPoints.ExecutionCancelled executionCancelled(@NotNull
                                                                           java.lang.Long deploymentResultId,
                                                                           @NotNull
                                                                           java.util.Date date,
                                                                           boolean buildActuallyCancelled)

queued

public static DeploymentTimingPoints.Queued queued(@NotNull
                                                   DeploymentContext context,
                                                   @NotNull
                                                   java.util.Date date)

agentAssigned

public static DeploymentTimingPoints.AgentAssigned agentAssigned(@NotNull
                                                                 DeploymentContext context,
                                                                 @NotNull
                                                                 java.util.Date date,
                                                                 long agentId)

executionStarted

public static DeploymentTimingPoints.ExecutionStarted executionStarted(@NotNull
                                                                       DeploymentContext context,
                                                                       @NotNull
                                                                       java.util.Date date)

executionFinished

public static DeploymentTimingPoints.ExecutionFinished executionFinished(@NotNull
                                                                         DeploymentContext context,
                                                                         @NotNull
                                                                         java.util.Date date)

getDate

@NotNull
public java.util.Date getDate()
Specified by:
getDate in interface TimingPoint

getDeploymentResultId

public long getDeploymentResultId()
Specified by:
getDeploymentResultId in interface DeploymentTimingPoint


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.