mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-27 21:12:58 +08:00
15 lines
306 B
Java
15 lines
306 B
Java
package emu.grasscutter.task;
|
|
|
|
import org.quartz.*;
|
|
|
|
@PersistJobDataAfterExecution
|
|
public abstract class TaskHandler implements Job {
|
|
public void restartExecute() throws JobExecutionException {
|
|
execute(null);
|
|
}
|
|
|
|
public abstract void onEnable();
|
|
|
|
public abstract void onDisable();
|
|
}
|