com.atlassian.bamboo.v2.build.agent
Class BuildAgentControllerImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl
All Implemented Interfaces:
BuildAgentController

public class BuildAgentControllerImpl
extends java.lang.Object
implements BuildAgentController


Constructor Summary
BuildAgentControllerImpl(BuildResultProcessor buildResultProcessor, AgentQueueAccessor agentQueueAccessor, CapabilitySetManager capabilitySetManager, BuildExecutionUpdateManager buildExecutionUpdateManager, ErrorUpdateHandler errorUpdateHandler, CapabilityContext capabilityContext, AgentContext agentContext, CustomVariableContext customVariableContext)
           
 
Method Summary
 void finishBuilding(ExecutableBuildAgent buildAgent)
           
 void prepareForBuilding(ExecutableBuildAgent buildAgent)
           
 void waitAndPerformBuild(ExecutableBuildAgent buildAgent)
          Gets the passed build agent to wait for a build and the run the build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildAgentControllerImpl

public BuildAgentControllerImpl(BuildResultProcessor buildResultProcessor,
                                AgentQueueAccessor agentQueueAccessor,
                                CapabilitySetManager capabilitySetManager,
                                BuildExecutionUpdateManager buildExecutionUpdateManager,
                                ErrorUpdateHandler errorUpdateHandler,
                                CapabilityContext capabilityContext,
                                AgentContext agentContext,
                                CustomVariableContext customVariableContext)
Method Detail

prepareForBuilding

public void prepareForBuilding(@NotNull
                               ExecutableBuildAgent buildAgent)
Specified by:
prepareForBuilding in interface BuildAgentController

finishBuilding

public void finishBuilding(@NotNull
                           ExecutableBuildAgent buildAgent)
Specified by:
finishBuilding in interface BuildAgentController

waitAndPerformBuild

public void waitAndPerformBuild(@NotNull
                                ExecutableBuildAgent buildAgent)
Description copied from interface: BuildAgentController
Gets the passed build agent to wait for a build and the run the build

Specified by:
waitAndPerformBuild in interface BuildAgentController


Copyright © 2011 Atlassian. All Rights Reserved.