Class ConcurrentBuildResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.concurrentbuild.ConcurrentBuildResource
@Path("config/build/concurrency")
@Produces("application/json")
@Consumes("application/json")
public class ConcurrentBuildResource
extends Object
Manage the REST endpoint for concurrent build settings.
- Since:
- 5.9
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConcurrentBuildResource
(AdministrationConfigurationService administrationConfigurationService, BuildConcurrencyConversionFunction function, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptiongetBuildConcurrency
(@NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo) updateRestBuildConcurrency
(@NotNull RestBuildConcurrency restBuildConcurrency, @NotNull ExpansionParam expansion, @NotNull javax.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
REST_PATH
- See Also:
-
-
Constructor Details
-
ConcurrentBuildResource
@Inject public ConcurrentBuildResource(AdministrationConfigurationService administrationConfigurationService, BuildConcurrencyConversionFunction function, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
getBuildConcurrency
@GET public RestBuildConcurrency getBuildConcurrency(@NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) -
updateRestBuildConcurrency
@PUT public RestBuildConcurrency updateRestBuildConcurrency(@NotNull @NotNull RestBuildConcurrency restBuildConcurrency, @NotNull @BeanParam @NotNull ExpansionParam expansion, @NotNull @Context @NotNull javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-