public class TestSampleJobDelegate extends AbstractSchedTaskJobDelegate
auditManager, entityFactory, interrupt, interrupted, LOG, notificationManager, publisher, task, taskDAO, taskDataBinder, taskExecDAO
Constructor and Description |
---|
TestSampleJobDelegate() |
Modifier and Type | Method and Description |
---|---|
protected String |
doExecute(boolean dryRun,
org.quartz.JobExecutionContext context)
The actual execution, delegated to child classes.
|
protected boolean |
hasToBeRegistered(TaskExec execution)
Template method to determine whether this job's task execution has to be persisted or not.
|
void |
interrupt() |
boolean |
isInterrupted() |
execute, register, setStatus
protected String doExecute(boolean dryRun, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
AbstractSchedTaskJobDelegate
doExecute
in class AbstractSchedTaskJobDelegate
dryRun
- whether to actually touch the datacontext
- Quartz' execution context, can be used to pass parameters to the joborg.quartz.JobExecutionException
- if anything goes wrongpublic void interrupt()
interrupt
in interface JobDelegate
interrupt
in class AbstractSchedTaskJobDelegate
public boolean isInterrupted()
isInterrupted
in interface JobDelegate
isInterrupted
in class AbstractSchedTaskJobDelegate
protected boolean hasToBeRegistered(TaskExec execution)
AbstractSchedTaskJobDelegate
hasToBeRegistered
in class AbstractSchedTaskJobDelegate
execution
- task executionCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.