Package org.cyclos.services.system
Interface CustomScheduledTaskService
-
- All Superinterfaces:
CRUDService<CustomScheduledTaskDTO,CustomScheduledTaskData,Void>,Service
public interface CustomScheduledTaskService extends CRUDService<CustomScheduledTaskDTO,CustomScheduledTaskData,Void>
Service for managing custom scheduled tasks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CustomScheduledTaskDetailedVO>list()Lists all available custom operationsvoidrunNow(CustomScheduledTaskVO task)Triggers a manual execution of the given taskPage<CustomScheduledTaskLogVO>searchLogs(@NotNull CustomScheduledTaskLogQuery params)Searches for a task execution logs-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
list
List<CustomScheduledTaskDetailedVO> list() throws FrameworkException
Lists all available custom operations- Throws:
FrameworkException
-
runNow
void runNow(CustomScheduledTaskVO task) throws FrameworkException
Triggers a manual execution of the given task- Throws:
FrameworkException
-
searchLogs
Page<CustomScheduledTaskLogVO> searchLogs(@NotNull @NotNull CustomScheduledTaskLogQuery params) throws FrameworkException
Searches for a task execution logs- Throws:
FrameworkException
-
-