Class AgentResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.agent.AgentResource
-
public class AgentResource extends Object
Manage the REST endpoint for agent management- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description AgentResource(RestAgentService restAgentService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestAgent
getAgentById(javax.ws.rs.core.UriInfo uriInfo, long agentId)
RestPageModel<RestAgent>
getAgents(javax.ws.rs.core.UriInfo uriInfo)
RestAgent
updateRestAgent(javax.ws.rs.core.UriInfo uriInfo, long agentId, RestAgent restAgent)
-
-
-
Field Detail
-
REST_PATH
public static final String REST_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AgentResource
@Inject public AgentResource(RestAgentService restAgentService)
-
-
Method Detail
-
getAgents
public RestPageModel<RestAgent> getAgents(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getAgentById
public RestAgent getAgentById(@Context javax.ws.rs.core.UriInfo uriInfo, long agentId)
-
updateRestAgent
public RestAgent updateRestAgent(@Context javax.ws.rs.core.UriInfo uriInfo, long agentId, RestAgent restAgent) throws WebValidationException
- Throws:
WebValidationException
-
-