public class GeneralConfigurationResource extends Object
Constructor and Description |
---|
GeneralConfigurationResource(GeneralConfigurationService generalConfigurationService,
GeneralConfigurationConversionFunction function) |
Modifier and Type | Method and Description |
---|---|
RestGeneralConfiguration |
getGeneralConfiguration(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to retrieve bamboo server general configurations
|
RestGeneralConfiguration |
updateGeneralConfiguration(RestGeneralConfiguration restGeneralConfiguration,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to update bamboo server general configurations.
|
public GeneralConfigurationResource(GeneralConfigurationService generalConfigurationService, GeneralConfigurationConversionFunction function)
public RestGeneralConfiguration getGeneralConfiguration(@NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws URISyntaxException, InternalError
RestGeneralConfiguration
URISyntaxException
InternalError
public RestGeneralConfiguration updateGeneralConfiguration(RestGeneralConfiguration restGeneralConfiguration, @Nullable @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException, UnauthorisedException
restGeneralConfiguration
- Configuration to be updated. Partially update supported.WebValidationException
- if there's validation errors, which maps into a 400 Bad RequestUnauthorisedException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.