All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nxyfan.framework.task.service.SysTaskService Maven / Gradle / Ivy

package com.nxyfan.framework.task.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nxyfan.framework.task.entity.SysTask;
import com.nxyfan.framework.task.param.SysTaskPageParam;
import com.nxyfan.framework.task.param.SysTaskSaveParam;

/** 
 *
 * Describe: 定时任务Service接口
 * Author: caoyang  
 * Create Time: 2022年12月5日 下午3:13:26 
 * Copyright @ 2022 51LIFE  
 */
public interface SysTaskService extends IService {

	/**
	 * 
	 * Describe: 获取定时任务分页
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午3:41:56   
	 * @param pageParam
	 * @return 定时任务分页
	 */
	Page page(SysTaskPageParam pageParam);

	/**
	 * 
	 * Describe: 获取定时任务类名列表
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午5:36:53   
	 * @return 定时任务类名列表
	 */
	List getClassNameList();
	
	/**
	 * 
	 * Describe: 保存定时任务
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午4:54:18   
	 * @param saveParam
	 */
	void save(SysTaskSaveParam saveParam);

	/**
	 * 
	 * Describe: 根据主键,获取定时任务信息
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午4:56:44   
	 * @param flow 主键
	 * @return 定时任务信息
	 */
	SysTask queryEntity(String flow);

	/**
	 * 
	 * Describe: 删除定时任务
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午5:30:01   
	 * @param taskFlow
	 */
	void delete(String taskFlow);

	/**
	 * 
	 * Describe: 停止定时任务
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午5:45:35   
	 * @param taskFlow
	 */
	void stop(String taskFlow);

	/**
	 * 
	 * Describe: 运行定时任务
	 * Author: caoyang  
	 * Create Time: 2022年12月5日 下午5:45:53   
	 * @param taskFlow
	 */
	void run(String taskFlow);

	/**
	 * 
	 * Describe: 定时任务初始化
	 * Author: caoyang  
	 * Create Time: 2022年12月6日 下午4:02:37
	 */
	void init();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy