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 classDeploymentTimingPoints.AgentAssignedDeployment was received by agentstatic classDeploymentTimingPoints.ExecutionCancelledDeployment execution was cancelled on agentstatic classDeploymentTimingPoints.ExecutionFinishedDeployment execution was finished on agentstatic classDeploymentTimingPoints.ExecutionStartedDeployment execution was started on agentstatic classDeploymentTimingPoints.QueuedDeployment was put to the queuestatic classDeploymentTimingPoints.SentToAgentDeployment was picked up from the queue by agent
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeploymentTimingPoints(@NotNull ResultKey resultKey, @NotNull Date date)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentTimingPoints.AgentAssignedagentAssigned(@NotNull DeploymentContext context, @NotNull Date date, long agentId)static DeploymentTimingPoints.ExecutionCancelledexecutionCancelled(@NotNull ResultKey resultKey, @NotNull Date date, boolean buildActuallyCancelled)static DeploymentTimingPoints.ExecutionFinishedexecutionFinished(@NotNull DeploymentContext context, @NotNull Date date)static DeploymentTimingPoints.ExecutionStartedexecutionStarted(@NotNull DeploymentContext context, @NotNull Date date)@NotNull DategetDate()longgetDeploymentResultId()@NotNull DeploymentResultKeygetResultKey()static DeploymentTimingPoints.Queuedqueued(@NotNull DeploymentContext context, @NotNull Date date)static DeploymentTimingPoints.SentToAgentsentToAgent(@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:
getDatein interfaceTimingPoint
-
getDeploymentResultId
public long getDeploymentResultId()
- Specified by:
getDeploymentResultIdin interfaceDeploymentTimingPoint
-
getResultKey
@NotNull public @NotNull DeploymentResultKey getResultKey()
- Specified by:
getResultKeyin interfaceDeploymentTimingPoint
-
-