package cn.superdesk.app.cronjobadmin.core.alarm;

import cn.superdesk.app.cronjobadmin.core.model.XxlJobInfo;
import cn.superdesk.app.cronjobadmin.core.model.XxlJobLog;

/**
 * @author xuxueli 2020-01-19
 */
public interface JobAlarm {

    /**
     * job alarm
     *
     * @param info
     * @param jobLog
     * @return
     */
    public boolean doAlarm(XxlJobInfo info, XxlJobLog jobLog);

}
