Class AgentAssignmentMapImpl
java.lang.Object
com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMapImpl
- All Implemented Interfaces:
AgentAssignmentMap
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap
AgentAssignmentMap.AgentAssignmentCheckResult -
Constructor Summary
ConstructorsConstructorDescriptionAgentAssignmentMapImpl(@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:
forExecutorsin interfaceAgentAssignmentMap
-
forExecutables
public Set<AgentAssignmentService.AgentAssignmentExecutor> forExecutables(@NotNull @NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) - Specified by:
forExecutablesin interfaceAgentAssignmentMap
-
checkAssignmentRequirements
public AgentAssignmentMap.AgentAssignmentCheckResult checkAssignmentRequirements(@Nullable @Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables, Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors) - Specified by:
checkAssignmentRequirementsin interfaceAgentAssignmentMap
-
createAssignmentFilterFor
@NotNull public @NotNull Predicate<BuildAgent> createAssignmentFilterFor(@Nullable @Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables) - Specified by:
createAssignmentFilterForin interfaceAgentAssignmentMap
-