public class RemoteExecutionPhaseServiceImpl extends Object implements ExecutionPhaseService
Constructor and Description |
---|
RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender,
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 RemoteExecutionPhaseServiceImpl(BambooAgentMessageSender sender, 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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.