com.atlassian.bamboo.execution
Class ExecutionPhaseServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.execution.ExecutionPhaseServiceImpl
All Implemented Interfaces:
ExecutionPhaseService

public class ExecutionPhaseServiceImpl
extends java.lang.Object
implements ExecutionPhaseService


Constructor Summary
ExecutionPhaseServiceImpl(TimingPointService timingPointService)
           
 
Method Summary
 void agentAssigned(CommonContext context, long agentId)
          This is executed on the agent
 void executionCancelled(ResultKey resultKey, java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionPhaseServiceImpl

public ExecutionPhaseServiceImpl(TimingPointService timingPointService)
Method Detail

queued

public void queued(@NotNull
                   CommonContext context)
Description copied from interface: ExecutionPhaseService
This is executed on the server When the build/deployment gets put on the queue

Specified by:
queued in interface ExecutionPhaseService

agentAssigned

public void agentAssigned(@NotNull
                          CommonContext context,
                          long agentId)
Description copied from interface: ExecutionPhaseService
This is executed on the agent

Specified by:
agentAssigned in interface ExecutionPhaseService

vcsSyncStarted

public void vcsSyncStarted(@NotNull
                           CommonContext context)
Implementation for Deployments is simple do-nothing

Specified by:
vcsSyncStarted in interface ExecutionPhaseService

executionStarted

public void executionStarted(@NotNull
                             CommonContext context)
Description copied from interface: ExecutionPhaseService
Marks start of tasks execution. This is executed on the agent

Specified by:
executionStarted in interface ExecutionPhaseService

executionCancelled

public void executionCancelled(@NotNull
                               ResultKey resultKey,
                               @Nullable
                               java.lang.Long deploymentResultId,
                               boolean buildActuallyCancelled)
Description copied from interface: ExecutionPhaseService
Marks confirmation of build cancellation request. This is executed on the agent

Specified by:
executionCancelled in interface ExecutionPhaseService

executionFinished

public void executionFinished(@NotNull
                              CommonContext context)
Description copied from interface: ExecutionPhaseService
Marks finish of tasks execution. This is executed on the agent

Specified by:
executionFinished in interface ExecutionPhaseService


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.