Class RestBuildMonitoringServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.buildmonitoring.RestBuildMonitoringServiceImpl
-
- All Implemented Interfaces:
RestBuildMonitoringService
@Component public class RestBuildMonitoringServiceImpl extends Object implements RestBuildMonitoringService
Service layer to manage build monitoring
-
-
Constructor Summary
Constructors Constructor Description RestBuildMonitoringServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestBuildMonitoring
getRestBuildMonitoring()
Retrieve build monitoring settings from bamboo.void
updateRestBuildMonitoring(RestBuildMonitoring restBuildMonitoring)
Updates the build Monitoring settings on bamboo.
-
-
-
Constructor Detail
-
RestBuildMonitoringServiceImpl
@Autowired public RestBuildMonitoringServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager)
-
-
Method Detail
-
getRestBuildMonitoring
public RestBuildMonitoring getRestBuildMonitoring()
Description copied from interface:RestBuildMonitoringService
Retrieve build monitoring settings from bamboo.- Specified by:
getRestBuildMonitoring
in interfaceRestBuildMonitoringService
- Returns:
RestBuildMonitoring
-
updateRestBuildMonitoring
public void updateRestBuildMonitoring(RestBuildMonitoring restBuildMonitoring) throws WebValidationException, org.quartz.SchedulerException
Description copied from interface:RestBuildMonitoringService
Updates the build Monitoring settings on bamboo.- Specified by:
updateRestBuildMonitoring
in interfaceRestBuildMonitoringService
- Parameters:
restBuildMonitoring
- The settings to be udpated- Throws:
WebValidationException
- if there is a problem validating the provided settingsorg.quartz.SchedulerException
- if there is a problem with the scheduler
-
-