(String taskName)
| 79 | } |
| 80 | |
| 81 | public boolean resumeTask(String taskName) { |
| 82 | try { |
| 83 | Scheduler scheduler = schedulerFactory.getScheduler(); |
| 84 | scheduler.resumeJob(new JobKey(taskName)); |
| 85 | } catch (SchedulerException e) { |
| 86 | e.printStackTrace(); |
| 87 | return false; |
| 88 | } |
| 89 | return true; |
| 90 | } |
| 91 | |
| 92 | public boolean cancelTask(String taskName) { |
| 93 | Task task = this.annotations.get(taskName); |
nothing calls this directly
no outgoing calls
no test coverage detected