Package org.cyclos.services.system
Interface CustomScheduledTaskService
-
- All Superinterfaces:
CRUDService<CustomScheduledTaskDTO,CustomScheduledTaskData,Void>,Service
- All Known Subinterfaces:
CustomScheduledTaskServiceLocal
- All Known Implementing Classes:
CustomScheduledTaskServiceImpl,CustomScheduledTaskServiceSecurity
public interface CustomScheduledTaskService extends CRUDService<CustomScheduledTaskDTO,CustomScheduledTaskData,Void>
Service for managing custom recurring tasks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CustomScheduledTaskDetailedVO>list()Lists all available custom recurring tasksvoidrunNow(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 recurring tasks- 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
-
-