| | |
| | | */ |
| | | ResponseResult publishFlightTask(CreateJobParam param, LoginUser loginUser) throws SQLException; |
| | | |
| | | ResponseResult publishFlightTaskPrepare(Optional<WaylineJobDTO> waylineJobOpt) throws SQLException; |
| | | |
| | | /** |
| | | * Execute the task immediately. |
| | | * @param jobId |
| | |
| | | |
| | | /** |
| | | * Cancel the task Base on job Ids. |
| | | * @param jobIds |
| | | * @param jobId |
| | | * @throws SQLException |
| | | */ |
| | | void cancelFlightTask(Collection<String> jobIds); |
| | | ResponseResult cancelFlightTask(Collection<String> jobId); |
| | | // void cancelFlightTask(Collection<String> jobIds); |
| | | |
| | | /** |
| | | * Cancel the dock tasks that have been issued but have not yet been executed. |
| | | * @param dockSn |
| | | * @param jobIds |
| | | */ |
| | | void publishCancelTask(String dockSn, List<String> jobIds); |
| | | ResponseResult publishCancelTask(String dockSn, List<String> jobIds); |
| | | |
| | | /** |
| | | * 删除任务 |
| | | * */ |
| | | void deleteTask(String id); |
| | | |
| | | /** |
| | | * Query wayline jobs based on conditions. |
| | |
| | | */ |
| | | PaginationData<WaylineJobDTO> getJobsByWorkspaceId(long page, long pageSize); |
| | | |
| | | PaginationData<WaylineJobDTO> getJobsList(long page, long pageSize, Integer status, |
| | | Long startTime, Long endTime, Integer taskType, |
| | | String name, Boolean isComplete); |
| | | |
| | | /** |
| | | * Process to get interface data of flight mission resources. |
| | | * @param receiver |