Package com.adobe.granite.maintenance
Interface MaintenanceTaskManager
Description of a maintenance task manager.
-
Method Summary
Modifier and TypeMethodDescriptiongetMaintenanceTaskInfo(String name) Return a maintenance task info for the given nameReturn all available maintenance task infosvoidstartMaintenanceTask(String name) Start the maintenance task if it exists.voidstopMaintenanceTask(String name) Try to stop the maintenance task if it exists.
-
Method Details
-
getMaintenanceTaskInfos
Collection<MaintenanceTaskInfo> getMaintenanceTaskInfos()Return all available maintenance task infos -
getMaintenanceTaskInfo
Return a maintenance task info for the given name- Returns:
- The maintenance info or
null
-
startMaintenanceTask
Start the maintenance task if it exists. -
stopMaintenanceTask
Try to stop the maintenance task if it exists.
-