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 boolean
isEnabled()
void
onRemove(PreRequest event)
void
restart()
Reconfigure the scheduler and restart.void
start()
Start the scheduler.void
stop()
Stop the scheduler.void
update(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)
-
-