public class ConcurrentBuildResource extends Object
Constructor and Description |
---|
ConcurrentBuildResource(AdministrationConfigurationService administrationConfigurationService,
BuildConcurrencyConversionFunction function,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
RestBuildConcurrency |
getBuildConcurrency(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to retrieve build concurrency settings
|
RestBuildConcurrency |
updateRestBuildConcurrency(RestBuildConcurrency restBuildConcurrency,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
The REST endpoint to update build concurrency settings.
|
public static final String REST_PATH
public ConcurrentBuildResource(AdministrationConfigurationService administrationConfigurationService, BuildConcurrencyConversionFunction function, com.atlassian.sal.api.message.I18nResolver i18nResolver)
public RestBuildConcurrency getBuildConcurrency(@NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo)
RestBuildConcurrency
public RestBuildConcurrency updateRestBuildConcurrency(@NotNull RestBuildConcurrency restBuildConcurrency, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException, org.quartz.SchedulerException
restBuildConcurrency
- Configuration to be updated. Partially update supported.WebValidationException
- if there's validation errors, which maps into a 400 Bad Requestorg.quartz.SchedulerException
- if there's a problem with the scheduler.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.