@Singleton public class AgentAssignmentResource extends Object
Constructor and Description |
---|
AgentAssignmentResource(PlanManager planManager,
CachedPlanManager cachedPlanManager,
DeploymentProjectService deploymentProjectService,
EnvironmentService environmentService,
PlanRestService planRestService,
ProjectManager projectManager,
AgentAssignmentService agentAssignmentService,
AgentManager agentManager,
ElasticImageConfigurationManager elasticImageConfigurationManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addAgentAssignment(String type,
long executorId,
String assignmentType,
long entityId) |
List<RestDedicatedAgent> |
getAgentAssignments(String type,
long executorId,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders) |
javax.ws.rs.core.Response |
removeAgentAssignment(String type,
long executorId,
String assignmentType,
long entityId) |
SearchResultsList |
searchEntityForAgent(String executorTypeString,
long executorId,
String entityType,
String searchTerm,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
public AgentAssignmentResource(PlanManager planManager, CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, PlanRestService planRestService, ProjectManager projectManager, AgentAssignmentService agentAssignmentService, AgentManager agentManager, ElasticImageConfigurationManager elasticImageConfigurationManager)
public List<RestDedicatedAgent> getAgentAssignments(String type, long executorId, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
public javax.ws.rs.core.Response addAgentAssignment(String type, long executorId, String assignmentType, long entityId)
public javax.ws.rs.core.Response removeAgentAssignment(String type, long executorId, String assignmentType, long entityId)
public SearchResultsList searchEntityForAgent(String executorTypeString, long executorId, String entityType, String searchTerm, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.