Package com.atlassian.bamboo.execution
Interface ExecutionPhaseService
- All Known Implementing Classes:
ExecutionPhaseServiceImpl
,RemoteExecutionPhaseServiceImpl
@ExperimentalApi
@Internal
public interface ExecutionPhaseService
Methods of this interface are called during execution process.
-
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) Deprecated.since 9.3 not really related to actual VCS operations
-
Method Details
-
queued
This is executed on the server when the build/deployment gets put on the queue- Parameters:
context
-
-
sentToAgent
This is executed on the server when the build/deployment is sent to an agent.- Parameters:
context
-
-
agentAssigned
This is executed on the agent when agent accepts the build/deployment. -
vcsSyncStarted
Deprecated.since 9.3 not really related to actual VCS operationsThis is executed on the agent -
executionStarted
Marks start of tasks execution. This is executed on the agent -
executionCancelled
Marks confirmation of build cancellation request. This is executed on the agent -
executionFinished
Marks finish of tasks execution. This is executed on the agent
-