Class RemoteExecutionPhaseServiceImpl
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.RemoteExecutionPhaseServiceImpl
- All Implemented Interfaces:
ExecutionPhaseService
-
Constructor Summary
ConstructorDescriptionRemoteExecutionPhaseServiceImpl
(BambooAgentMessageSender sender, TimingPointService timingPointService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
RemoteExecutionPhaseServiceImpl
public RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender, TimingPointService timingPointService)
-
-
Method Details
-
sentToAgent
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
-
queued
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
-
agentAssigned
Description copied from interface:ExecutionPhaseService
This is executed on the agent when agent accepts the build/deployment.- Specified by:
agentAssigned
in interfaceExecutionPhaseService
-
vcsSyncStarted
Implementation for Deployments is simple do-nothing- Specified by:
vcsSyncStarted
in interfaceExecutionPhaseService
-
executionStarted
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
Description copied from interface:ExecutionPhaseService
Marks finish of tasks execution. This is executed on the agent- Specified by:
executionFinished
in interfaceExecutionPhaseService
-