Class AgentAssignmentMapImpl
java.lang.Object
com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMapImpl
- All Implemented Interfaces:
AgentAssignmentMap
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap
AgentAssignmentMap.AgentAssignmentCheckResult
-
Constructor Summary
ConstructorDescriptionAgentAssignmentMapImpl
(@NotNull Iterable<AgentAssignment> agentAssignments, @NotNull CachedPlanManager cachedPlanManager, @NotNull DeploymentProjectService deploymentProjectService) -
Method Summary
Modifier and TypeMethodDescriptioncheckAssignmentRequirements
(@Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables, Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors) @NotNull Predicate<BuildAgent>
createAssignmentFilterFor
(@Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) forExecutables
(@NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
-
Constructor Details
-
AgentAssignmentMapImpl
public AgentAssignmentMapImpl(@NotNull @NotNull Iterable<AgentAssignment> agentAssignments, @NotNull @NotNull CachedPlanManager cachedPlanManager, @NotNull @NotNull DeploymentProjectService deploymentProjectService)
-
-
Method Details
-
forExecutors
public Set<AgentAssignmentService.AgentAssignmentExecutable> forExecutors(Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors) - Specified by:
forExecutors
in interfaceAgentAssignmentMap
-
forExecutables
public Set<AgentAssignmentService.AgentAssignmentExecutor> forExecutables(@NotNull @NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) - Specified by:
forExecutables
in interfaceAgentAssignmentMap
-
checkAssignmentRequirements
public AgentAssignmentMap.AgentAssignmentCheckResult checkAssignmentRequirements(@Nullable @Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables, Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors) - Specified by:
checkAssignmentRequirements
in interfaceAgentAssignmentMap
-
createAssignmentFilterFor
@NotNull public @NotNull Predicate<BuildAgent> createAssignmentFilterFor(@Nullable @Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) - Specified by:
createAssignmentFilterFor
in interfaceAgentAssignmentMap
-