class QuartzManageController extends BaseController {

    @Resource
    private SchedulerCenter schedulerCenter;

    @RequestMapping(value = "/list")
    public ModelAndView doQuartzList(HttpServletRequest request,
                                     HttpServletResponse response, Model model) {
        String query = request.getParameter("query");
        List<TriggerInfo> triggerList;
        if (StringUtils.isBlank(query)) {
            triggerList = schedulerCenter.getAllTriggers();
            query = "";
        } else {
            triggerList = schedulerCenter.getTriggersByNameOrGroup(query);
        }
        model.addAttribute("triggerList", triggerList);
        model.addAttribute("quartzActive", SuccessEnum.SUCCESS.value());
        model.addAttribute("query", query);
        return new ModelAndView("manage/quartz/list");
    }

    @RequestMapping(value = "/pause")
    public String pause(HttpServletRequest request,
                                     HttpServletResponse response, Model model) {
        String name = request.getParameter("name");
        String group = request.getParameter("group");
        if (StringUtils.isNotBlank(name) || StringUtils.isNotBlank(group)) {
            schedulerCenter.pauseTrigger(new TriggerKey(name, group));
        }
        return "redirect:/manage/quartz/list";
    }

    @RequestMapping(value = "/resume")
    public String resume(HttpServletRequest request,
                        HttpServletResponse response, Model model) {<FILL_FUNCTION_BODY>}

    @RequestMapping(value = "/remove")
    public String remove(HttpServletRequest request,
                         HttpServletResponse response, Model model) {
        String name = request.getParameter("name");
        String group = request.getParameter("group");
        if (StringUtils.isNotBlank(name) || StringUtils.isNotBlank(group)) {
            schedulerCenter.unscheduleJob(new TriggerKey(name, group));
        }
        return "redirect:/manage/quartz/list";
    }

}

        String name = request.getParameter("name");
        String group = request.getParameter("group");
        if (StringUtils.isNotBlank(name) || StringUtils.isNotBlank(group)) {
            schedulerCenter.resumeTrigger(new TriggerKey(name, group));
        }
        return "redirect:/manage/quartz/list";
    
<methods>public non-sealed void <init>() ,public boolean clearTempResource(java.lang.String) ,public java.lang.String getTempResource(java.lang.String) ,public com.sohu.cache.entity.AppUser getUserInfo(javax.servlet.http.HttpServletRequest) ,public java.lang.String markdown2html(java.lang.String, java.lang.String) throws java.lang.Exception,public byte[] read(java.io.InputStream) throws java.io.IOException,public java.lang.Boolean saveTempResource(java.lang.String, java.lang.String) ,public void sendMessage(javax.servlet.http.HttpServletResponse, java.lang.String) <variables>protected com.sohu.cache.dao.AppAuditDao appAuditDao,protected com.sohu.cache.dao.AppAuditLogDao appAuditLogDao,protected com.sohu.cache.stats.app.AppDeployCenter appDeployCenter,protected com.sohu.cache.web.util.AppEmailUtil appEmailUtil,protected com.sohu.cache.dao.AppImportDao appImportDao,protected com.sohu.cache.web.service.AppService appService,protected com.sohu.cache.stats.app.AppStatsCenter appStatsCenter,com.sohu.cache.redis.AssistRedisService assistRedisService,protected com.sohu.cache.async.AsyncService asyncService,protected com.sohu.cache.dao.InstanceDao instanceDao,protected com.sohu.cache.stats.instance.InstanceDeployCenter instanceDeployCenter,protected final org.slf4j.Logger logger,protected com.sohu.cache.machine.MachineCenter machineCenter,protected com.sohu.cache.redis.RedisCenter redisCenter,protected com.sohu.cache.redis.RedisConfigTemplateService redisConfigTemplateService,protected com.sohu.cache.redis.RedisDeployCenter redisDeployCenter,protected com.sohu.cache.web.service.ResourceService resourceService,protected com.sohu.cache.web.service.UserLoginStatusService userLoginStatusService,protected com.sohu.cache.web.service.UserService userService