public class ExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
Constructor and Description |
---|
ExecutionPhaseServiceImpl(TimingPointService timingPointService) |
Modifier and Type | Method and Description |
---|---|
void |
agentAssigned(CommonContext context,
long agentId)
This is executed on the agent
|
void |
executionCancelled(ResultKey resultKey,
Long deploymentResultId,
boolean buildActuallyCancelled)
Marks confirmation of build cancellation request.
|
void |
executionFinished(CommonContext context)
Marks finish of tasks execution.
|
void |
executionStarted(CommonContext context)
Marks start of tasks execution.
|
void |
queued(CommonContext context)
This is executed on the server When the build/deployment gets put on the queue
|
void |
vcsSyncStarted(CommonContext context)
Implementation for Deployments is simple do-nothing
|
public ExecutionPhaseServiceImpl(TimingPointService timingPointService)
public void queued(@NotNull CommonContext context)
ExecutionPhaseService
queued
in interface ExecutionPhaseService
public void agentAssigned(@NotNull CommonContext context, long agentId)
ExecutionPhaseService
agentAssigned
in interface ExecutionPhaseService
public void vcsSyncStarted(@NotNull CommonContext context)
vcsSyncStarted
in interface ExecutionPhaseService
public void executionStarted(@NotNull CommonContext context)
ExecutionPhaseService
executionStarted
in interface ExecutionPhaseService
public void executionCancelled(@NotNull ResultKey resultKey, @Nullable Long deploymentResultId, boolean buildActuallyCancelled)
ExecutionPhaseService
executionCancelled
in interface ExecutionPhaseService
public void executionFinished(@NotNull CommonContext context)
ExecutionPhaseService
executionFinished
in interface ExecutionPhaseService
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.