Class DeploymentTimingPoints
- java.lang.Object
-
- com.atlassian.bamboo.deployments.execution.events.DeploymentTimingPoints
-
- All Implemented Interfaces:
DeploymentTimingPoint
,TimingPoint
,Serializable
- Direct Known Subclasses:
DeploymentTimingPoints.AgentAssigned
,DeploymentTimingPoints.ExecutionCancelled
,DeploymentTimingPoints.ExecutionFinished
,DeploymentTimingPoints.ExecutionStarted
,DeploymentTimingPoints.Queued
,DeploymentTimingPoints.SentToAgent
,OutOfBandDeploymentTimingPoints.AgentAssigned
,OutOfBandDeploymentTimingPoints.ExecutionFinished
,OutOfBandDeploymentTimingPoints.ExecutionStarted
,OutOfBandDeploymentTimingPoints.Queued
,OutOfBandDeploymentTimingPoints.SentToAgent
public abstract class DeploymentTimingPoints extends Object implements DeploymentTimingPoint
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeploymentTimingPoints.AgentAssigned
Deployment was received by agentstatic class
DeploymentTimingPoints.ExecutionCancelled
Deployment execution was cancelled on agentstatic class
DeploymentTimingPoints.ExecutionFinished
Deployment execution was finished on agentstatic class
DeploymentTimingPoints.ExecutionStarted
Deployment execution was started on agentstatic class
DeploymentTimingPoints.Queued
Deployment was put to the queuestatic class
DeploymentTimingPoints.SentToAgent
Deployment was picked up from the queue by agent
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeploymentTimingPoints(@NotNull ResultKey resultKey, @NotNull Date date)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentTimingPoints.AgentAssigned
agentAssigned(@NotNull DeploymentContext context, @NotNull Date date, long agentId)
static DeploymentTimingPoints.ExecutionCancelled
executionCancelled(@NotNull ResultKey resultKey, @NotNull Date date, boolean buildActuallyCancelled)
static DeploymentTimingPoints.ExecutionFinished
executionFinished(@NotNull DeploymentContext context, @NotNull Date date)
static DeploymentTimingPoints.ExecutionStarted
executionStarted(@NotNull DeploymentContext context, @NotNull Date date)
@NotNull Date
getDate()
long
getDeploymentResultId()
@NotNull DeploymentResultKey
getResultKey()
static DeploymentTimingPoints.Queued
queued(@NotNull DeploymentContext context, @NotNull Date date)
static DeploymentTimingPoints.SentToAgent
sentToAgent(@NotNull DeploymentContext context, @NotNull Date date, long agentId)
-
-
-
Method Detail
-
executionCancelled
public static DeploymentTimingPoints.ExecutionCancelled executionCancelled(@NotNull @NotNull ResultKey resultKey, @NotNull @NotNull Date date, boolean buildActuallyCancelled)
-
queued
public static DeploymentTimingPoints.Queued queued(@NotNull @NotNull DeploymentContext context, @NotNull @NotNull Date date)
-
sentToAgent
public static DeploymentTimingPoints.SentToAgent sentToAgent(@NotNull @NotNull DeploymentContext context, @NotNull @NotNull Date date, long agentId)
-
agentAssigned
public static DeploymentTimingPoints.AgentAssigned agentAssigned(@NotNull @NotNull DeploymentContext context, @NotNull @NotNull Date date, long agentId)
-
executionStarted
public static DeploymentTimingPoints.ExecutionStarted executionStarted(@NotNull @NotNull DeploymentContext context, @NotNull @NotNull Date date)
-
executionFinished
public static DeploymentTimingPoints.ExecutionFinished executionFinished(@NotNull @NotNull DeploymentContext context, @NotNull @NotNull Date date)
-
getDate
@NotNull public @NotNull Date getDate()
- Specified by:
getDate
in interfaceTimingPoint
-
getDeploymentResultId
public long getDeploymentResultId()
- Specified by:
getDeploymentResultId
in interfaceDeploymentTimingPoint
-
getResultKey
@NotNull public @NotNull DeploymentResultKey getResultKey()
- Specified by:
getResultKey
in interfaceDeploymentTimingPoint
-
-