public class RemoteExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
| Constructor and Description |
|---|
RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender,
TimingPointService timingPointService) |
| Modifier and Type | Method and 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,
@Nullable Long deploymentResultId,
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 queue
|
void |
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
|
public RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender, TimingPointService timingPointService)
public void sentToAgent(@NotNull
@NotNull CommonContext context,
long agentId)
ExecutionPhaseServicesentToAgent in interface ExecutionPhaseServicepublic void queued(@NotNull
@NotNull CommonContext context)
ExecutionPhaseServicequeued in interface ExecutionPhaseServicepublic void agentAssigned(@NotNull
@NotNull CommonContext context,
long agentId)
ExecutionPhaseServiceagentAssigned in interface ExecutionPhaseServicepublic void vcsSyncStarted(@NotNull
@NotNull CommonContext context)
vcsSyncStarted in interface ExecutionPhaseServicepublic void executionStarted(@NotNull
@NotNull CommonContext context)
ExecutionPhaseServiceexecutionStarted in interface ExecutionPhaseServicepublic void executionCancelled(@NotNull
@NotNull ResultKey resultKey,
@Nullable
@Nullable Long deploymentResultId,
boolean buildActuallyCancelled)
ExecutionPhaseServiceexecutionCancelled in interface ExecutionPhaseServicepublic void executionFinished(@NotNull
@NotNull CommonContext context)
ExecutionPhaseServiceexecutionFinished in interface ExecutionPhaseServiceCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.