Class ElasticConfigurationResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.elasticconfiguration.ElasticConfigurationResource
@Path("elastic/config")
@Produces("application/json")
@Consumes("application/json")
public class ElasticConfigurationResource
extends Object
Manage the REST endpoint for elastic configuration
- Since:
- 5.10
-
Field Summary
-
Constructor Summary
ConstructorDescriptionElasticConfigurationResource
(RestPermissionCheck restPermissionCheck, ElasticConfigurationConversionFunction elasticConfigurationConversionFunction, ElasticAccountBean elasticAccountBean) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getRestElasticConfiguration
(javax.ws.rs.core.UriInfo uriInfo, ExpansionParam expansion) updateRestElasticConfiguration
(@NotNull RestElasticConfiguration restElasticConfiguration, javax.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
REST_PATH
- See Also:
-
-
Constructor Details
-
ElasticConfigurationResource
@Inject public ElasticConfigurationResource(RestPermissionCheck restPermissionCheck, ElasticConfigurationConversionFunction elasticConfigurationConversionFunction, ElasticAccountBean elasticAccountBean)
-
-
Method Details
-
getRestElasticConfiguration
@GET public javax.ws.rs.core.Response getRestElasticConfiguration(@Context javax.ws.rs.core.UriInfo uriInfo, @BeanParam ExpansionParam expansion) -
updateRestElasticConfiguration
@PUT public RestElasticConfiguration updateRestElasticConfiguration(@NotNull @NotNull RestElasticConfiguration restElasticConfiguration, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-