Package com.atlassian.bamboo.execution
Class ExecutionPhaseServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.execution.ExecutionPhaseServiceImpl
-
- All Implemented Interfaces:
ExecutionPhaseService
public class ExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
-
-
Constructor Summary
Constructors Constructor Description ExecutionPhaseServiceImpl(TimingPointService timingPointService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
agentAssigned(@NotNull CommonContext context, long agentId)
This is executed on the agent when agent accepts the build/deployment.void
executionCancelled(@NotNull ResultKey resultKey, boolean buildActuallyCancelled)
Marks confirmation of build cancellation request.void
executionFinished(@NotNull CommonContext context)
Marks finish of tasks execution.void
executionStarted(@NotNull CommonContext context)
Marks start of tasks execution.void
queued(@NotNull CommonContext context)
This is executed on the server when the build/deployment gets put on the queuevoid
sentToAgent(@NotNull CommonContext context, long agentId)
This is executed on the server when the build/deployment is sent to an agent.void
vcsSyncStarted(@NotNull CommonContext context)
Implementation for Deployments is simple do-nothing
-
-
-
Constructor Detail
-
ExecutionPhaseServiceImpl
public ExecutionPhaseServiceImpl(TimingPointService timingPointService)
-
-
Method Detail
-
queued
public void queued(@NotNull @NotNull CommonContext context)
Description copied from interface:ExecutionPhaseService
This is executed on the server when the build/deployment gets put on the queue- Specified by:
queued
in interfaceExecutionPhaseService
-
sentToAgent
public void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)
Description copied from interface:ExecutionPhaseService
This is executed on the server when the build/deployment is sent to an agent.- Specified by:
sentToAgent
in interfaceExecutionPhaseService
-
agentAssigned
public void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)
Description copied from interface:ExecutionPhaseService
This is executed on the agent when agent accepts the build/deployment.- Specified by:
agentAssigned
in interfaceExecutionPhaseService
-
vcsSyncStarted
public void vcsSyncStarted(@NotNull @NotNull CommonContext context)
Implementation for Deployments is simple do-nothing- Specified by:
vcsSyncStarted
in interfaceExecutionPhaseService
-
executionStarted
public void executionStarted(@NotNull @NotNull CommonContext context)
Description copied from interface:ExecutionPhaseService
Marks start of tasks execution. This is executed on the agent- Specified by:
executionStarted
in interfaceExecutionPhaseService
-
executionCancelled
public void executionCancelled(@NotNull @NotNull ResultKey resultKey, boolean buildActuallyCancelled)
Description copied from interface:ExecutionPhaseService
Marks confirmation of build cancellation request. This is executed on the agent- Specified by:
executionCancelled
in interfaceExecutionPhaseService
-
executionFinished
public void executionFinished(@NotNull @NotNull CommonContext context)
Description copied from interface:ExecutionPhaseService
Marks finish of tasks execution. This is executed on the agent- Specified by:
executionFinished
in interfaceExecutionPhaseService
-
-