@Component public class MaintenanceServiceImpl extends Object implements MaintenanceService
READ_ONLY_ACCESS_MODE_COMPATIBLE
Constructor and Description |
---|
MaintenanceServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager,
SettingsManager settingsManager,
I18NBeanFactory i18NBeanFactory,
LicenseService licenseService) |
Modifier and Type | Method and Description |
---|---|
MaintenanceInfo |
getMaintenanceInfo()
Get the banner message for maintenance mode
|
List<Addon> |
getUserInstalledAddons()
Get all user-installed add-ons so that the admin can know which add-on is incompatible with the read only access mode for example.
|
void |
updateMaintenanceInfo(MaintenanceInfo maintenanceInfo)
Update the maintenance info
|
@Autowired public MaintenanceServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager, SettingsManager settingsManager, I18NBeanFactory i18NBeanFactory, LicenseService licenseService)
public List<Addon> getUserInstalledAddons()
MaintenanceService
getUserInstalledAddons
in interface MaintenanceService
public void updateMaintenanceInfo(MaintenanceInfo maintenanceInfo) throws ServiceException
MaintenanceService
updateMaintenanceInfo
in interface MaintenanceService
maintenanceInfo
- the maintenance info to be updatedServiceException
public MaintenanceInfo getMaintenanceInfo()
MaintenanceService
getMaintenanceInfo
in interface MaintenanceService
Copyright © 2003–2021 Atlassian. All rights reserved.