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)
ExecutionPhaseServicequeued in interface ExecutionPhaseServicepublic void agentAssigned(@NotNull
CommonContext context,
long agentId)
ExecutionPhaseServiceagentAssigned in interface ExecutionPhaseServicepublic void vcsSyncStarted(@NotNull
CommonContext context)
vcsSyncStarted in interface ExecutionPhaseServicepublic void executionStarted(@NotNull
CommonContext context)
ExecutionPhaseServiceexecutionStarted in interface ExecutionPhaseServicepublic void executionCancelled(@NotNull
ResultKey resultKey,
@Nullable
Long deploymentResultId,
boolean buildActuallyCancelled)
ExecutionPhaseServiceexecutionCancelled in interface ExecutionPhaseServicepublic void executionFinished(@NotNull
CommonContext context)
ExecutionPhaseServiceexecutionFinished in interface ExecutionPhaseServiceCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.