Interface MaintenanceService
-
- All Known Implementing Classes:
MaintenanceServiceImpl
@ReturnValuesAreNonnullByDefault public interface MaintenanceService
This class is responsible for the maintenance logic in Confluence- Since:
- 6.8.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
READ_ONLY_ACCESS_MODE_COMPATIBLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaintenanceInfo
getMaintenanceInfo()
Get the banner message for maintenance modeList<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
-
-
-
Field Detail
-
READ_ONLY_ACCESS_MODE_COMPATIBLE
static final String READ_ONLY_ACCESS_MODE_COMPATIBLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUserInstalledAddons
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.- Returns:
- a list of user-installed add-ons
-
updateMaintenanceInfo
void updateMaintenanceInfo(MaintenanceInfo maintenanceInfo)
Update the maintenance info- Parameters:
maintenanceInfo
- the maintenance info to be updated
-
getMaintenanceInfo
MaintenanceInfo getMaintenanceInfo()
Get the banner message for maintenance mode- Returns:
- the maintenance info
-
-