Class AgentAssignmentMapImpl
- java.lang.Object
-
- com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMapImpl
-
- All Implemented Interfaces:
AgentAssignmentMap
public class AgentAssignmentMapImpl extends Object implements AgentAssignmentMap
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentAssignmentMapImpl.AssignmentMatchingPredicate
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap
AgentAssignmentMap.AgentAssignmentCheckResult
-
-
Constructor Summary
Constructors Constructor Description AgentAssignmentMapImpl(@NotNull Iterable<AgentAssignment> agentAssignments, @NotNull CachedPlanManager cachedPlanManager, @NotNull DeploymentProjectService deploymentProjectService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentAssignmentMap.AgentAssignmentCheckResult
checkAssignmentRequirements(@Nullable Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables, Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
@NotNull Predicate<BuildAgent>
createAssignmentFilterFor(@NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
Set<AgentAssignmentService.AgentAssignmentExecutor>
forExecutables(@NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
Set<AgentAssignmentService.AgentAssignmentExecutable>
forExecutors(Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
-
-
-
Constructor Detail
-
AgentAssignmentMapImpl
public AgentAssignmentMapImpl(@NotNull @NotNull Iterable<AgentAssignment> agentAssignments, @NotNull @NotNull CachedPlanManager cachedPlanManager, @NotNull @NotNull DeploymentProjectService deploymentProjectService)
-
-
Method Detail
-
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(@NotNull @NotNull Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
- Specified by:
createAssignmentFilterFor
in interfaceAgentAssignmentMap
-
-