Class BuildAgentControllerImpl
java.lang.Object
com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl
- All Implemented Interfaces:
BuildAgentController
-
Constructor Summary
ConstructorDescriptionBuildAgentControllerImpl
(AgentContext agentContext, AgentQueueAccessor agentQueueAccessor, BuildLoggerManager buildLoggerManager, ResultProcessor resultProcessor, CapabilityContext capabilityContext, RemotedCapabilitySetManager capabilitySetManager, CustomVariableContext customVariableContext, ErrorUpdateHandler errorUpdateHandler, ExecutionPhaseService executionPhaseService, com.atlassian.event.api.EventPublisher eventPublisher, DockerContainerControllerFactory dockerContainerControllerFactory, BuildWarningSummaryCollationService buildWarningSummaryCollationService, BuildLoggingContext buildLoggingContext, SecureXStreamFactory secureXStreamFactory, BuildDirectoryManager buildDirectoryManager, ArtifactManager artifactManager, SecretEncryptionService secretEncryptionService, AgentCipherProviderService agentCipherProviderService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
finishBuilding
(@NotNull ExecutableBuildAgent buildAgent) boolean
hasPreviousBuildResultToSend
(ExecutableBuildAgent executableBuildAgent) void
onEvent
(ExecutableQueueUpdate executableQueueUpdate) void
prepareForBuilding
(@NotNull ExecutableBuildAgent buildAgent) boolean
void
waitAndPerformBuild
(@NotNull ExecutableBuildAgent buildAgent) Gets the passed build agent to wait for a build and the run the build
-
Constructor Details
-
BuildAgentControllerImpl
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, DockerContainerControllerFactory dockerContainerControllerFactory, BuildWarningSummaryCollationService buildWarningSummaryCollationService, BuildLoggingContext buildLoggingContext, @Qualifier("remoteCommunicationSecuredXStreamFactory") SecureXStreamFactory secureXStreamFactory, BuildDirectoryManager buildDirectoryManager, ArtifactManager artifactManager, SecretEncryptionService secretEncryptionService, AgentCipherProviderService agentCipherProviderService)
-
-
Method Details
-
prepareForBuilding
- Specified by:
prepareForBuilding
in interfaceBuildAgentController
-
finishBuilding
- Specified by:
finishBuilding
in interfaceBuildAgentController
-
waitAndPerformBuild
Description copied from interface:BuildAgentController
Gets the passed build agent to wait for a build and the run the build- Specified by:
waitAndPerformBuild
in interfaceBuildAgentController
-
hasPreviousBuildResultToSend
- Specified by:
hasPreviousBuildResultToSend
in interfaceBuildAgentController
-
sendPreviousBuildResultIfRequired
- Specified by:
sendPreviousBuildResultIfRequired
in interfaceBuildAgentController
- Returns:
- true if nothing left to process after returning
-
onEvent
-