package cn.axzo.msg.center.notices.client.task;

import cn.axzo.msg.center.notices.service.api.TaskService;
import cn.azxo.framework.common.service.JobParamResolver;
import com.xxl.job.core.biz.model.ReturnT;

import javax.annotation.Resource;

/**
 * 日志
 *
 * @author zhaoyong
 * @see LoggerJobHandler
 * @since 2021-08-24 20:56
 */
public abstract class LoggerJobHandler {

  @Resource(name = "jobParamResolver")
  protected JobParamResolver jobParamResolver;

  @Resource(name = "taskService")
  protected TaskService taskService;

  @Resource(name = "jobLoggerTemplate")
  protected JobLoggerTemplate jobLoggerTemplate;

  public abstract ReturnT<String> execute(String param);

}
