com.atlassian.bamboo.execution
Interface ExecutionPhaseService

All Known Implementing Classes:
ExecutionPhaseServiceImpl, RemoteExecutionPhaseServiceImpl

public interface ExecutionPhaseService

Methods of this interface are called during execution process.


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)
          This is executed on the agent
 

Method Detail

queued

void queued(@NotNull
            CommonContext context)
This is executed on the server When the build/deployment gets put on the queue

Parameters:
context -

agentAssigned

void agentAssigned(@NotNull
                   CommonContext context,
                   long agentId)
This is executed on the agent


vcsSyncStarted

void vcsSyncStarted(@NotNull
                    CommonContext context)
This is executed on the agent


executionStarted

void executionStarted(@NotNull
                      CommonContext context)
Marks start of tasks execution. This is executed on the agent


executionCancelled

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


executionFinished

void executionFinished(@NotNull
                       CommonContext context)
Marks finish of tasks execution. This is executed on the agent



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