public class BuildMonitoringResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestBuildMonitoring |
BUILD_MONITORING
For REST documentation generation
|
static String |
REST_PATH |
Constructor and Description |
---|
BuildMonitoringResource(com.atlassian.sal.api.ApplicationProperties applicationProperties,
RestBuildMonitoringService restBuildMonitoringService,
RestPermissionCheck restPermissionCheck) |
Modifier and Type | Method and Description |
---|---|
RestBuildMonitoring |
getBuildMonitoring()
The REST endpoint to retrieve build monitoring settings
|
javax.ws.rs.core.Response |
updateRestBuildMonitoring(RestBuildMonitoring restBuildMonitoring)
The REST endpoint to update build monitoring settings.
|
public static final String REST_PATH
public static final RestBuildMonitoring BUILD_MONITORING
public BuildMonitoringResource(com.atlassian.sal.api.ApplicationProperties applicationProperties, RestBuildMonitoringService restBuildMonitoringService, RestPermissionCheck restPermissionCheck)
public RestBuildMonitoring getBuildMonitoring()
RestBuildMonitoring
public javax.ws.rs.core.Response updateRestBuildMonitoring(RestBuildMonitoring restBuildMonitoring) throws WebValidationException, org.quartz.SchedulerException
restBuildMonitoring
- Configuration to be update. Partial update supported.WebValidationException
- if there is a validation error. This maps to a 400 Bad request response.org.quartz.SchedulerException
- if there is a problem with the schedulerCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.