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
All Methods Instance Methods Abstract Methods Deprecated 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)
Deprecated.since 9.3 not really related to actual VCS operations
-
-
-
Method Detail
-
queued
void queued(@NotNull @NotNull CommonContext context)
This is executed on the server when the build/deployment gets put on the queue- Parameters:
context
-
-
sentToAgent
void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)
This is executed on the server when the build/deployment is sent to an agent.- Parameters:
context
-
-
agentAssigned
void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)
This is executed on the agent when agent accepts the build/deployment.
-
vcsSyncStarted
@Deprecated void vcsSyncStarted(@NotNull @NotNull CommonContext context)
Deprecated.since 9.3 not really related to actual VCS operationsThis is executed on the agent
-
executionStarted
void executionStarted(@NotNull @NotNull CommonContext context)
Marks start of tasks execution. This is executed on the agent
-
executionCancelled
void executionCancelled(@NotNull @NotNull ResultKey resultKey, boolean buildActuallyCancelled)
Marks confirmation of build cancellation request. This is executed on the agent
-
executionFinished
void executionFinished(@NotNull @NotNull CommonContext context)
Marks finish of tasks execution. This is executed on the agent
-
-