public class AdministrationConfigurationServiceImpl extends Object implements AdministrationConfigurationService
com.atlassian.bamboo.admin.configuration.AdministrationConfigurationService
Constructor and Description |
---|
AdministrationConfigurationServiceImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor,
AdministrationConfigurationPersister administrationConfigurationPersister,
BranchDetectionJobScheduler branchDetectionJobScheduler,
FeatureManager featureManager,
BootstrapManager bootstrapManager,
BambooPermissionManager bambooPermissionManager,
PullRequestDetectionJobScheduler pullRequestDetectionJobScheduler,
RepositoryStoredSpecsPollingScheduler repositoryStoredSpecsPollingScheduler,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
AdministrationConfiguration |
getAdministrationConfiguration()
Retrieve bamboo administration configuration
|
String |
getBrokerClientURI()
Get broker client uri
|
String |
getBrokerURI()
Get broker uri
|
protected boolean |
hasRestrictedAdministrationPermission() |
void |
setBrokerClientURI(String brokerClientUri)
Set broker client uri
|
void |
setBrokerURI(String brokerUri)
Set broker uri
|
void |
updateAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
Update bamboo administration configuration
|
ConcurrentBuildConfig |
updateBuildConcurrency(Boolean isEnabled,
Integer numberOfConcurrentBuilds)
Update bamboo concurrent build configuration
|
public AdministrationConfigurationServiceImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister, BranchDetectionJobScheduler branchDetectionJobScheduler, FeatureManager featureManager, BootstrapManager bootstrapManager, BambooPermissionManager bambooPermissionManager, PullRequestDetectionJobScheduler pullRequestDetectionJobScheduler, RepositoryStoredSpecsPollingScheduler repositoryStoredSpecsPollingScheduler, com.atlassian.event.api.EventPublisher eventPublisher)
public void updateAdministrationConfiguration(AdministrationConfiguration administrationConfiguration) throws WebValidationException, org.quartz.SchedulerException
AdministrationConfigurationService
updateAdministrationConfiguration
in interface AdministrationConfigurationService
WebValidationException
org.quartz.SchedulerException
public ConcurrentBuildConfig updateBuildConcurrency(@Nullable Boolean isEnabled, @Nullable Integer numberOfConcurrentBuilds) throws WebValidationException
AdministrationConfigurationService
updateBuildConcurrency
in interface AdministrationConfigurationService
WebValidationException
protected boolean hasRestrictedAdministrationPermission()
public AdministrationConfiguration getAdministrationConfiguration()
AdministrationConfigurationService
getAdministrationConfiguration
in interface AdministrationConfigurationService
public void setBrokerURI(String brokerUri) throws URISyntaxException
AdministrationConfigurationService
setBrokerURI
in interface AdministrationConfigurationService
brokerUri
- Broker uriURISyntaxException
public String getBrokerURI() throws URISyntaxException
AdministrationConfigurationService
getBrokerURI
in interface AdministrationConfigurationService
URISyntaxException
public String getBrokerClientURI() throws URISyntaxException
AdministrationConfigurationService
getBrokerClientURI
in interface AdministrationConfigurationService
URISyntaxException
public void setBrokerClientURI(String brokerClientUri) throws URISyntaxException
AdministrationConfigurationService
setBrokerClientURI
in interface AdministrationConfigurationService
brokerClientUri
- New broker client uriURISyntaxException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.