cn.dceast.platform.task.quartz.data.InputFromDataBase Maven / Gradle / Ivy
The newest version!
package cn.dceast.platform.task.quartz.data;
import java.util.ArrayList;
import java.util.List;
import cn.dceast.platform.task.config.TaskConfig;
import cn.dceast.platform.task.quartz.JobEntity;
import cn.dceast.platform.task.quartz.JobExecutedEntity;
public class InputFromDataBase implements InputJobInfoExecutor{
@Override
public List getJobs() {
List list=OutputJobToDataBaseService.getJobs(TaskConfig.appName);
List result=new ArrayList<>();
for(JobExecutedEntity jee:list){
result.add(jee);
}
return result;
}
}