MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / resumeTask

Method resumeTask

src/main/java/emu/grasscutter/task/TaskMap.java:81–90  ·  view source on GitHub ↗
(String taskName)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected