com.atlassian.bamboo.plugins.rest.admin.concurrentbuild
Class ConcurrentBuildResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.concurrentbuild.ConcurrentBuildResource
public class ConcurrentBuildResource
- extends Object
Manage the REST endpoint for concurrent build settings.
- Since:
- 5.9
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REST_PATH
public static final String REST_PATH
- See Also:
- Constant Field Values
ConcurrentBuildResource
public ConcurrentBuildResource(RestBuildConcurrencyService restBuildConcurrencyService,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
RestPermissionCheck restPermissionCheck)
getBuildConcurrency
public RestBuildConcurrency getBuildConcurrency()
- The REST endpoint to retrieve build concurrency settings
- Returns:
RestBuildConcurrency
updateRestBuildConcurrency
public javax.ws.rs.core.Response updateRestBuildConcurrency(RestBuildConcurrency restBuildConcurrency)
throws WebValidationException,
org.quartz.SchedulerException
- The REST endpoint to update build concurrency settings.
- Parameters:
restBuildConcurrency
- Configuration to be updated. Partially update supported.
- Returns:
- Status of the update operation.
- Throws:
WebValidationException
- if there's validation errors, which maps into a 400 Bad Request
org.quartz.SchedulerException
- if there's a problem with the scheduler.
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.