Package com.axelor.quartz
Class JobRunner
- java.lang.Object
-
- com.axelor.quartz.JobRunner
-
@Singleton public class JobRunner extends Object
-
-
Constructor Summary
Constructors Constructor Description JobRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled()voidonRemove(PreRequest event)voidrestart()Reconfigure the scheduler and restart.voidstart()Start the scheduler.voidstop()Stop the scheduler.voidupdate(MetaSchedule meta)Update the given scheduler.
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
update
public void update(MetaSchedule meta) throws SchedulerException
Update the given scheduler.- Parameters:
meta-- Throws:
SchedulerException
-
start
public void start()
Start the scheduler.
-
stop
public void stop()
Stop the scheduler.
-
restart
public void restart()
Reconfigure the scheduler and restart.
-
onRemove
public void onRemove(@Named("remove") @EntityType(MetaSchedule.class) PreRequest event)
-
-