com.atlassian.bamboo.buildqueue.manager
Interface AgentAssignmentService

All Known Implementing Classes:
AgentAssignmentServiceImpl

public interface AgentAssignmentService

Service for managing the exclusive assignment for agents to jobs/environments


Nested Class Summary
static class AgentAssignmentService.AgentAssignmentExecutable
           
static class AgentAssignmentService.AgentAssignmentExecutor
           
 
Method Summary
 void deleteExecutableAssignments(java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutable> agentAssignments)
          Remove a collection of agent assignments.
 void deleteExecutorAssignments(java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutor> agentAssignments)
          Remove a collection of agent assignments.
 AgentAssignmentMap getAgentAssignments()
          Retrieve an assignment map used to access executable and executor assignments
 AgentAssignment saveAgentAssignment(AgentAssignment agentAssignment)
          Save an agent assignment
 

Method Detail

saveAgentAssignment

@NotNull
AgentAssignment saveAgentAssignment(@NotNull
                                            AgentAssignment agentAssignment)
Save an agent assignment

Parameters:
agentAssignment - to save
Returns:
The saved agent assignment

deleteExecutableAssignments

void deleteExecutableAssignments(@NotNull
                                 java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutable> agentAssignments)
Remove a collection of agent assignments.

Parameters:
agentAssignments - to delete

deleteExecutorAssignments

void deleteExecutorAssignments(@NotNull
                               java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutor> agentAssignments)
Remove a collection of agent assignments.

Parameters:
agentAssignments - to delete

getAgentAssignments

AgentAssignmentMap getAgentAssignments()
Retrieve an assignment map used to access executable and executor assignments

Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.