|
|
@ -6,6 +6,8 @@ import com.xxl.job.admin.core.model.XxlJobGroup; |
|
|
|
import com.xxl.job.admin.core.model.XxlJobInfo; |
|
|
|
import com.xxl.job.admin.core.model.XxlJobInfo; |
|
|
|
import com.xxl.job.admin.core.model.XxlJobUser; |
|
|
|
import com.xxl.job.admin.core.model.XxlJobUser; |
|
|
|
import com.xxl.job.admin.core.route.ExecutorRouteStrategyEnum; |
|
|
|
import com.xxl.job.admin.core.route.ExecutorRouteStrategyEnum; |
|
|
|
|
|
|
|
import com.xxl.job.admin.core.scheduler.MisfireStrategyEnum; |
|
|
|
|
|
|
|
import com.xxl.job.admin.core.scheduler.ScheduleTypeEnum; |
|
|
|
import com.xxl.job.admin.core.thread.JobTriggerPoolHelper; |
|
|
|
import com.xxl.job.admin.core.thread.JobTriggerPoolHelper; |
|
|
|
import com.xxl.job.admin.core.trigger.TriggerTypeEnum; |
|
|
|
import com.xxl.job.admin.core.trigger.TriggerTypeEnum; |
|
|
|
import com.xxl.job.admin.core.util.I18nUtil; |
|
|
|
import com.xxl.job.admin.core.util.I18nUtil; |
|
|
@ -47,6 +49,8 @@ public class JobInfoController { |
|
|
|
model.addAttribute("ExecutorRouteStrategyEnum", ExecutorRouteStrategyEnum.values()); // 路由策略-列表
|
|
|
|
model.addAttribute("ExecutorRouteStrategyEnum", ExecutorRouteStrategyEnum.values()); // 路由策略-列表
|
|
|
|
model.addAttribute("GlueTypeEnum", GlueTypeEnum.values()); // Glue类型-字典
|
|
|
|
model.addAttribute("GlueTypeEnum", GlueTypeEnum.values()); // Glue类型-字典
|
|
|
|
model.addAttribute("ExecutorBlockStrategyEnum", ExecutorBlockStrategyEnum.values()); // 阻塞处理策略-字典
|
|
|
|
model.addAttribute("ExecutorBlockStrategyEnum", ExecutorBlockStrategyEnum.values()); // 阻塞处理策略-字典
|
|
|
|
|
|
|
|
model.addAttribute("ScheduleTypeEnum", ScheduleTypeEnum.values()); // 调度类型
|
|
|
|
|
|
|
|
model.addAttribute("MisfireStrategyEnum", MisfireStrategyEnum.values()); // 调度过期策略
|
|
|
|
|
|
|
|
|
|
|
|
// 执行器列表
|
|
|
|
// 执行器列表
|
|
|
|
List<XxlJobGroup> jobGroupList_all = xxlJobGroupDao.findAll(); |
|
|
|
List<XxlJobGroup> jobGroupList_all = xxlJobGroupDao.findAll(); |
|
|
|