public abstract class SpincastCronJobBase extends Object implements SpincastCronJob
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastCronJobBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.quartz.JobExecutionContext context)
The actions to run.
|
protected abstract void |
executeSafe(org.quartz.JobExecutionContext context)
To override to implement the actuqal cronjob action.
|
abstract org.quartz.Trigger |
getTrigger()
When to run this cron job?
|
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
SpincastCronJobexecute in interface org.quartz.Jobexecute in interface SpincastCronJoborg.quartz.JobExecutionExceptionpublic abstract org.quartz.Trigger getTrigger()
SpincastCronJobgetTrigger in interface SpincastCronJobprotected abstract void executeSafe(org.quartz.JobExecutionContext context)
Will only be called if it isn't already running.
Copyright © 2018. All rights reserved.