Class RemoteExecutionPhaseServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.remote.RemoteExecutionPhaseServiceImpl
-
- All Implemented Interfaces:
ExecutionPhaseService
public class RemoteExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
-
-
Constructor Summary
Constructors Constructor Description RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender, TimingPointService timingPointService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidagentAssigned(@NotNull CommonContext context, long agentId)This is executed on the agent when agent accepts the build/deployment.voidexecutionCancelled(@NotNull ResultKey resultKey, boolean buildActuallyCancelled)Marks confirmation of build cancellation request.voidexecutionFinished(@NotNull CommonContext context)Marks finish of tasks execution.voidexecutionStarted(@NotNull CommonContext context)Marks start of tasks execution.voidqueued(@NotNull CommonContext context)This is executed on the server when the build/deployment gets put on the queuevoidsentToAgent(@NotNull CommonContext context, long agentId)This is executed on the server when the build/deployment is sent to an agent.voidvcsSyncStarted(@NotNull CommonContext context)Implementation for Deployments is simple do-nothing
-
-
-
Constructor Detail
-
RemoteExecutionPhaseServiceImpl
public RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender, TimingPointService timingPointService)
-
-
Method Detail
-
sentToAgent
public void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)Description copied from interface:ExecutionPhaseServiceThis is executed on the server when the build/deployment is sent to an agent.- Specified by:
sentToAgentin interfaceExecutionPhaseService
-
queued
public void queued(@NotNull @NotNull CommonContext context)Description copied from interface:ExecutionPhaseServiceThis is executed on the server when the build/deployment gets put on the queue- Specified by:
queuedin interfaceExecutionPhaseService
-
agentAssigned
public void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)Description copied from interface:ExecutionPhaseServiceThis is executed on the agent when agent accepts the build/deployment.- Specified by:
agentAssignedin interfaceExecutionPhaseService
-
vcsSyncStarted
public void vcsSyncStarted(@NotNull @NotNull CommonContext context)Implementation for Deployments is simple do-nothing- Specified by:
vcsSyncStartedin interfaceExecutionPhaseService
-
executionStarted
public void executionStarted(@NotNull @NotNull CommonContext context)Description copied from interface:ExecutionPhaseServiceMarks start of tasks execution. This is executed on the agent- Specified by:
executionStartedin interfaceExecutionPhaseService
-
executionCancelled
public void executionCancelled(@NotNull @NotNull ResultKey resultKey, boolean buildActuallyCancelled)Description copied from interface:ExecutionPhaseServiceMarks confirmation of build cancellation request. This is executed on the agent- Specified by:
executionCancelledin interfaceExecutionPhaseService
-
executionFinished
public void executionFinished(@NotNull @NotNull CommonContext context)Description copied from interface:ExecutionPhaseServiceMarks finish of tasks execution. This is executed on the agent- Specified by:
executionFinishedin interfaceExecutionPhaseService
-
-