Class ElasticConfigurationCapabilityResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.elastic.ElasticConfigurationCapabilityResource
@Path("elasticImageCapabilities")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class ElasticConfigurationCapabilityResource
extends Object
-
Constructor Summary
ConstructorDescriptionElasticConfigurationCapabilityResource
(ElasticImageConfigurationManager elasticImageConfigurationManager, CapabilitySetManager capabilitySetManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getImageCapabilities
(long configurationId) javax.ws.rs.core.Response
updateImageCapabilities
(long configurationId, List<RestCapability> incomingCapabilities)
-
Constructor Details
-
ElasticConfigurationCapabilityResource
@Inject public ElasticConfigurationCapabilityResource(ElasticImageConfigurationManager elasticImageConfigurationManager, CapabilitySetManager capabilitySetManager)
-
-
Method Details
-
getImageCapabilities
@GET @Path("{configurationId}") public javax.ws.rs.core.Response getImageCapabilities(@PathParam("configurationId") long configurationId) -
updateImageCapabilities
@PUT @Path("{configurationId}") public javax.ws.rs.core.Response updateImageCapabilities(@PathParam("configurationId") long configurationId, List<RestCapability> incomingCapabilities)
-