SchedulerService { public void resumeJob(String jobName, String jobGroup) { TriggerKey triggerKey = TriggerKey.triggerKey(jobName, jobGroup); try { if (checkExists(jobName, jobGroup)) { scheduler.resumeTrigger(triggerKey); } } catch (SchedulerException e) { throw new OpenAlertException(e.getMessage()); } }  List<String> getJobGroupNames(); List<TaskInfo> getJobList(); void addSimpleJob(TaskInfo info); void addCronJob(TaskInfo info); void editSimpleJob(TaskInfo info); void editCronJob(TaskInfo info); void deleteJob(String jobName, String jobGroup); void pauseJob(String jobName, String jobGroup); void resumeJob(String jobName, String jobGroup);  }
@Test public void resumeJob() { schedulerService.resumeJob("定时任务测试", Scheduler.DEFAULT_GROUP); }