com.atlassian.bamboo.buildqueue.manager
Class AgentAssignmentServiceImpl
java.lang.Object
com.atlassian.bamboo.buildqueue.manager.AgentAssignmentServiceImpl
- All Implemented Interfaces:
- AgentAssignmentService
public class AgentAssignmentServiceImpl
- extends java.lang.Object
- implements AgentAssignmentService
|
Constructor Summary |
AgentAssignmentServiceImpl(AgentAssignmentDao agentAssignmentDao,
org.springframework.transaction.support.TransactionTemplate transactionTemplate,
org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agentAssignmentDao
protected final AgentAssignmentDao agentAssignmentDao
AgentAssignmentServiceImpl
public AgentAssignmentServiceImpl(@NotNull
AgentAssignmentDao agentAssignmentDao,
@NotNull
org.springframework.transaction.support.TransactionTemplate transactionTemplate,
@NotNull
org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate)
saveAgentAssignment
@NotNull
public AgentAssignment saveAgentAssignment(@NotNull
AgentAssignment agentAssignment)
- Description copied from interface:
AgentAssignmentService
- Save an agent assignment
- Specified by:
saveAgentAssignment in interface AgentAssignmentService
- Parameters:
agentAssignment - to save
- Returns:
- The saved agent assignment
deleteExecutableAssignments
public void deleteExecutableAssignments(@NotNull
java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutable> agentAssignments)
- Description copied from interface:
AgentAssignmentService
- Remove a collection of agent assignments.
- Specified by:
deleteExecutableAssignments in interface AgentAssignmentService
- Parameters:
agentAssignments - to delete
deleteExecutorAssignments
public void deleteExecutorAssignments(@NotNull
java.lang.Iterable<AgentAssignmentService.AgentAssignmentExecutor> agentAssignments)
- Description copied from interface:
AgentAssignmentService
- Remove a collection of agent assignments.
- Specified by:
deleteExecutorAssignments in interface AgentAssignmentService
- Parameters:
agentAssignments - to delete
getAgentAssignments
public AgentAssignmentMap getAgentAssignments()
- Description copied from interface:
AgentAssignmentService
- Retrieve an assignment map used to access executable and executor assignments
- Specified by:
getAgentAssignments in interface AgentAssignmentService
- Returns:
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.