tv.hd3g.jobkit.engine.Job Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jobkit-engine Show documentation
Show all versions of jobkit-engine Show documentation
Execute onetime and scheduled jobs with dynamic queues and events
package tv.hd3g.jobkit.engine;
public interface Job extends RunnableWithException {
String getJobName();
String getJobSpoolname();
default int getJobPriority() {
return 0;
}
default void onJobStart() {
}
default void onJobDone() {
}
default void onJobFail(final Exception e) {
}
}