public class BuildAgentControllerImpl extends Object implements BuildAgentController
Constructor and Description |
---|
BuildAgentControllerImpl(AgentContext agentContext,
AgentQueueAccessor agentQueueAccessor,
BuildLoggerManager buildLoggerManager,
ResultProcessor resultProcessor,
CapabilityContext capabilityContext,
RemotedCapabilitySetManager capabilitySetManager,
CustomVariableContext customVariableContext,
ErrorUpdateHandler errorUpdateHandler,
ExecutionPhaseService executionPhaseService,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
finishBuilding(ExecutableBuildAgent buildAgent) |
void |
onEvent(ExecutableQueueUpdate executableQueueUpdate) |
void |
prepareForBuilding(ExecutableBuildAgent buildAgent) |
void |
waitAndPerformBuild(ExecutableBuildAgent buildAgent)
Gets the passed build agent to wait for a build and the run the build
|
public BuildAgentControllerImpl(AgentContext agentContext, AgentQueueAccessor agentQueueAccessor, BuildLoggerManager buildLoggerManager, ResultProcessor resultProcessor, CapabilityContext capabilityContext, RemotedCapabilitySetManager capabilitySetManager, CustomVariableContext customVariableContext, ErrorUpdateHandler errorUpdateHandler, ExecutionPhaseService executionPhaseService, com.atlassian.event.api.EventPublisher eventPublisher)
public void prepareForBuilding(@NotNull ExecutableBuildAgent buildAgent)
prepareForBuilding
in interface BuildAgentController
public void finishBuilding(@NotNull ExecutableBuildAgent buildAgent)
finishBuilding
in interface BuildAgentController
public void waitAndPerformBuild(@NotNull ExecutableBuildAgent buildAgent)
BuildAgentController
waitAndPerformBuild
in interface BuildAgentController
@EventListener public void onEvent(ExecutableQueueUpdate executableQueueUpdate)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.