Class GeneralConfigurationResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.configuration.GeneralConfigurationResource
@Path("/config/general")
@Produces("application/json")
@Consumes("application/json")
public class GeneralConfigurationResource
extends Object
REST resource for accessing/updating bamboo general configurations.
- Since:
- 5.9
-
Constructor Summary
ConstructorDescriptionGeneralConfigurationResource
(GeneralConfigurationService generalConfigurationService, GeneralConfigurationConversionFunction function) -
Method Summary
Modifier and TypeMethodDescriptiongetGeneralConfiguration
(@NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) updateGeneralConfiguration
(RestGeneralConfiguration restGeneralConfiguration, @Nullable ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
GeneralConfigurationResource
@Inject public GeneralConfigurationResource(GeneralConfigurationService generalConfigurationService, GeneralConfigurationConversionFunction function)
-
-
Method Details
-
getGeneralConfiguration
@GET public RestGeneralConfiguration getGeneralConfiguration(@NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws URISyntaxException, InternalError - Throws:
URISyntaxException
InternalError
-
updateGeneralConfiguration
@PUT public RestGeneralConfiguration updateGeneralConfiguration(RestGeneralConfiguration restGeneralConfiguration, @Nullable @BeanParam @Nullable ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException, UnauthorisedException
-