Class MaintenanceServiceImpl
java.lang.Object
com.atlassian.confluence.plugins.maintenance.service.impl.MaintenanceServiceImpl
- All Implemented Interfaces:
MaintenanceService
-
Field Summary
Fields inherited from interface com.atlassian.confluence.plugins.maintenance.service.MaintenanceService
READ_ONLY_ACCESS_MODE_COMPATIBLE -
Constructor Summary
ConstructorsConstructorDescriptionMaintenanceServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager, GlobalSettingsManager settingsManager, I18NBeanFactory i18NBeanFactory, LicenseService licenseService) -
Method Summary
Modifier and TypeMethodDescriptionGet the banner message for maintenance modeGet all user-installed add-ons so that the admin can know which add-on is incompatible with the read only access mode for example.voidupdateMaintenanceInfo(MaintenanceInfo maintenanceInfo) Update the maintenance info
-
Constructor Details
-
MaintenanceServiceImpl
@Autowired public MaintenanceServiceImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.metadata.PluginMetadataManager pluginMetadataManager, GlobalSettingsManager settingsManager, I18NBeanFactory i18NBeanFactory, LicenseService licenseService)
-
-
Method Details
-
getUserInstalledAddons
Description copied from interface:MaintenanceServiceGet all user-installed add-ons so that the admin can know which add-on is incompatible with the read only access mode for example.- Specified by:
getUserInstalledAddonsin interfaceMaintenanceService- Returns:
- a list of user-installed add-ons
-
updateMaintenanceInfo
Description copied from interface:MaintenanceServiceUpdate the maintenance info- Specified by:
updateMaintenanceInfoin interfaceMaintenanceService- Parameters:
maintenanceInfo- the maintenance info to be updated- Throws:
ServiceException
-
getMaintenanceInfo
Description copied from interface:MaintenanceServiceGet the banner message for maintenance mode- Specified by:
getMaintenanceInfoin interfaceMaintenanceService- Returns:
- the maintenance info
-