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
ConstructorDescriptionRestBuildMonitoringServiceImpl
(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.bandana.BandanaManager bandanaManager) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve build monitoring settings from bamboo.void
updateRestBuildMonitoring
(RestBuildMonitoring restBuildMonitoring) Updates the build Monitoring settings on bamboo.
-
Constructor Details
-
RestBuildMonitoringServiceImpl
@Autowired public RestBuildMonitoringServiceImpl(AdministrationConfigurationService administrationConfigurationService, FeatureManager featureManager, com.atlassian.bandana.BandanaManager bandanaManager)
-
-
Method Details
-
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
-