public class ExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
Constructor and Description |
---|
ExecutionPhaseServiceImpl(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 ExecutionPhaseServiceImpl(TimingPointService timingPointService)
public void queued(@NotNull @NotNull CommonContext context)
ExecutionPhaseService
queued
in interface ExecutionPhaseService
public void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)
ExecutionPhaseService
sentToAgent
in interface ExecutionPhaseService
public void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)
ExecutionPhaseService
agentAssigned
in interface ExecutionPhaseService
public void vcsSyncStarted(@NotNull @NotNull CommonContext context)
vcsSyncStarted
in interface ExecutionPhaseService
public void executionStarted(@NotNull @NotNull CommonContext context)
ExecutionPhaseService
executionStarted
in interface ExecutionPhaseService
public void executionCancelled(@NotNull @NotNull ResultKey resultKey, @Nullable @Nullable Long deploymentResultId, boolean buildActuallyCancelled)
ExecutionPhaseService
executionCancelled
in interface ExecutionPhaseService
public void executionFinished(@NotNull @NotNull CommonContext context)
ExecutionPhaseService
executionFinished
in interface ExecutionPhaseService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.