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(java.lang.String name)
Return a maintenance task info for the given namejava.util.Collection<MaintenanceTaskInfo>
getMaintenanceTaskInfos()
Return all available maintenance task infosvoid
startMaintenanceTask(java.lang.String name)
Start the maintenance task if it exists.void
stopMaintenanceTask(java.lang.String name)
Try to stop the maintenance task if it exists.
-
-
-
Method Detail
-
getMaintenanceTaskInfos
java.util.Collection<MaintenanceTaskInfo> getMaintenanceTaskInfos()
Return all available maintenance task infos
-
getMaintenanceTaskInfo
MaintenanceTaskInfo getMaintenanceTaskInfo(java.lang.String name)
Return a maintenance task info for the given name- Returns:
- The maintenance info or
null
-
startMaintenanceTask
void startMaintenanceTask(java.lang.String name)
Start the maintenance task if it exists.
-
stopMaintenanceTask
void stopMaintenanceTask(java.lang.String name)
Try to stop the maintenance task if it exists.
-
-