Package com.adobe.granite.maintenance
Interface MaintenanceTaskManager
-
@ProviderType public interface MaintenanceTaskManager
Description of a maintenance task manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaintenanceTaskInfo
getMaintenanceTaskInfo(String name)
Return a maintenance task info for the given nameCollection<MaintenanceTaskInfo>
getMaintenanceTaskInfos()
Return all available maintenance task infosvoid
startMaintenanceTask(String name)
Start the maintenance task if it exists.void
stopMaintenanceTask(String name)
Try to stop the maintenance task if it exists.
-
-
-
Method Detail
-
getMaintenanceTaskInfos
Collection<MaintenanceTaskInfo> getMaintenanceTaskInfos()
Return all available maintenance task infos
-
getMaintenanceTaskInfo
MaintenanceTaskInfo getMaintenanceTaskInfo(String name)
Return a maintenance task info for the given name- Returns:
- The maintenance info or
null
-
startMaintenanceTask
void startMaintenanceTask(String name)
Start the maintenance task if it exists.
-
stopMaintenanceTask
void stopMaintenanceTask(String name)
Try to stop the maintenance task if it exists.
-
-