Package com.atlassian.bamboo.execution
Class ExecutionPhaseServiceImpl
java.lang.Object
com.atlassian.bamboo.execution.ExecutionPhaseServiceImpl
- All Implemented Interfaces:
ExecutionPhaseService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidagentAssigned(@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 Details
-
ExecutionPhaseServiceImpl
-
-
Method Details
-
queued
Description copied from interface:ExecutionPhaseServiceThis is executed on the server when the build/deployment gets put on the queue- Specified by:
queuedin interfaceExecutionPhaseService- Parameters:
context-
-
sentToAgent
Description copied from interface:ExecutionPhaseServiceThis is executed on the server when the build/deployment is sent to an agent.- Specified by:
sentToAgentin interfaceExecutionPhaseService- Parameters:
context-
-
agentAssigned
Description copied from interface:ExecutionPhaseServiceThis is executed on the agent when agent accepts the build/deployment.- Specified by:
agentAssignedin interfaceExecutionPhaseService
-
vcsSyncStarted
Implementation for Deployments is simple do-nothing- Specified by:
vcsSyncStartedin interfaceExecutionPhaseService
-
executionStarted
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
Description copied from interface:ExecutionPhaseServiceMarks finish of tasks execution. This is executed on the agent- Specified by:
executionFinishedin interfaceExecutionPhaseService
-