com.atlassian.bamboo.buildqueue.manager
Class AgentAssignmentMapImpl

java.lang.Object
  extended by com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMapImpl
All Implemented Interfaces:
AgentAssignmentMap

public class AgentAssignmentMapImpl
extends Object
implements AgentAssignmentMap


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap
AgentAssignmentMap.AgentAssignmentCheckResult
 
Constructor Summary
AgentAssignmentMapImpl(Iterable<AgentAssignment> agentAssignments, CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService)
           
 
Method Summary
 AgentAssignmentMap.AgentAssignmentCheckResult checkAssignmentRequirements(Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables, Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
           
 Set<AgentAssignmentService.AgentAssignmentExecutor> forExecutables(Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
           
 Set<AgentAssignmentService.AgentAssignmentExecutable> forExecutors(Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentAssignmentMapImpl

public AgentAssignmentMapImpl(Iterable<AgentAssignment> agentAssignments,
                              @NotNull
                              CachedPlanManager cachedPlanManager,
                              @NotNull
                              DeploymentProjectService deploymentProjectService)
Method Detail

forExecutors

public Set<AgentAssignmentService.AgentAssignmentExecutable> forExecutors(Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
Specified by:
forExecutors in interface AgentAssignmentMap

forExecutables

public Set<AgentAssignmentService.AgentAssignmentExecutor> forExecutables(@NotNull
                                                                          Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables)
Specified by:
forExecutables in interface AgentAssignmentMap

checkAssignmentRequirements

public AgentAssignmentMap.AgentAssignmentCheckResult checkAssignmentRequirements(@Nullable
                                                                                 Iterable<AgentAssignmentService.AgentAssignmentExecutable> executables,
                                                                                 Iterable<AgentAssignmentService.AgentAssignmentExecutor> executors)
Specified by:
checkAssignmentRequirements in interface AgentAssignmentMap


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.