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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deployment was received by agentstatic class
Deployment execution was cancelled on agentstatic class
Deployment execution was finished on agentstatic class
Deployment execution was started on agentstatic class
Deployment was put to the queuestatic class
Deployment was picked up from the queue by agent -
Constructor Summary
ModifierConstructorDescriptionprotected
DeploymentTimingPoints
(@NotNull ResultKey resultKey, @NotNull Date date) -
Method Summary
Modifier and TypeMethodDescriptionagentAssigned
(@NotNull DeploymentContext context, @NotNull Date date, long agentId) executionCancelled
(@NotNull ResultKey resultKey, @NotNull Date date, boolean buildActuallyCancelled) executionFinished
(@NotNull DeploymentContext context, @NotNull Date date) executionStarted
(@NotNull DeploymentContext context, @NotNull Date date) @NotNull Date
getDate()
long
@NotNull DeploymentResultKey
queued
(@NotNull DeploymentContext context, @NotNull Date date) sentToAgent
(@NotNull DeploymentContext context, @NotNull Date date, long agentId)
-
Constructor Details
-
DeploymentTimingPoints
-
-
Method Details
-
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
- Specified by:
getDate
in interfaceTimingPoint
-
getDeploymentResultId
public long getDeploymentResultId()- Specified by:
getDeploymentResultId
in interfaceDeploymentTimingPoint
-
getResultKey
- Specified by:
getResultKey
in interfaceDeploymentTimingPoint
-