| BaseJob | Line # 12 | 1 | 2 | 0% |
0.0
|
| No Tests | |||
| 1 | package org.itracker.web.scheduler.tasks; | |
| 2 | ||
| 3 | import org.quartz.JobExecutionContext; | |
| 4 | import org.quartz.JobExecutionException; | |
| 5 | import org.quartz.StatefulJob; | |
| 6 | ||
| 7 | /** | |
| 8 | * This class implements the periodic transmission of the meals and reservations | |
| 9 | * file. | |
| 10 | * | |
| 11 | */ | |
| 12 | public abstract class BaseJob implements StatefulJob { | |
| 13 | ||
| 14 | 0 |
protected Object getServices(JobExecutionContext context) { |
| 15 | 0 | return context.getJobDetail().getJobDataMap().get("services"); |
| 16 | } | |
| 17 | ||
| 18 | 0 |
public void execute(final JobExecutionContext context) throws JobExecutionException { |
| 19 | } | |
| 20 | ||
| 21 | } | |
|
||||||||||