提交 | 用户 | 时间 | ||
722af2 | 1 | package com.xxl.job.admin.core.alarm; |
X | 2 | |
3 | import com.xxl.job.admin.core.model.XxlJobInfo; | |
4 | import com.xxl.job.admin.core.model.XxlJobLog; | |
5 | ||
6 | /** | |
7 | * @author xuxueli 2020-01-19 | |
8 | */ | |
9 | public interface JobAlarm { | |
10 | ||
11 | /** | |
12 | * job alarm | |
13 | * | |
14 | * @param info | |
15 | * @param jobLog | |
16 | * @return | |
17 | */ | |
18 | public boolean doAlarm(XxlJobInfo info, XxlJobLog jobLog); | |
19 | ||
20 | } |