| | |
| | | import com.product.core.exception.BaseException; |
| | | |
| | | public interface IEarlyWarningManager { |
| | | |
| | | |
| | | /** |
| | | * 预警配置新增 |
| | | * @param fse |
| | | * @return |
| | | */ |
| | | String addWarning(FieldSetEntity fse) throws BaseException, SchedulerException, TaskException; |
| | | |
| | | |
| | | /** |
| | | * 预警配置修改 |
| | | * @param fse |
| | | * @return |
| | | * @throws TaskException |
| | | * @throws SchedulerException |
| | | * @throws BaseException |
| | | * @throws TaskException |
| | | * @throws SchedulerException |
| | | * @throws BaseException |
| | | */ |
| | | boolean updateWarning(FieldSetEntity fse) throws BaseException, SchedulerException, TaskException; |
| | | |
| | | |
| | | /** |
| | | * 预警配置删除 |
| | | * @param uuid |
| | | * @return |
| | | * @throws SchedulerException |
| | | * @throws BaseException |
| | | * @throws SchedulerException |
| | | * @throws BaseException |
| | | */ |
| | | boolean deleteWarning(String uuid) throws BaseException, SchedulerException; |
| | | |
| | |
| | | * @throws BaseException |
| | | */ |
| | | boolean updateEarlyWarningTime(FieldSetEntity fse)throws BaseException, SchedulerException, TaskException; |
| | | |
| | | /** |
| | | * 转发 |
| | | * @param fse |
| | | */ |
| | | void transmit(FieldSetEntity fse); |
| | | } |