public class GroupMemberProvisionTaskJobDelegate extends AbstractSchedTaskJobDelegate
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_JOBDETAIL_KEY |
static String |
GROUP_KEY_JOBDETAIL_KEY |
auditManager, entityFactory, interrupt, interrupted, LOG, notificationManager, publisher, task, taskDAO, taskDataBinder, taskExecDAO
Constructor and Description |
---|
GroupMemberProvisionTaskJobDelegate() |
Modifier and Type | Method and Description |
---|---|
protected String |
doExecute(boolean dryRun,
org.quartz.JobExecutionContext context)
The actual execution, delegated to child classes.
|
void |
execute(String taskKey,
boolean dryRun,
org.quartz.JobExecutionContext context)
Executes a Quartz Job to run the given Task.
|
protected boolean |
hasToBeRegistered(TaskExec execution)
Template method to determine whether this job's task execution has to be persisted or not.
|
interrupt, isInterrupted, register, setStatus
public static final String ACTION_JOBDETAIL_KEY
public static final String GROUP_KEY_JOBDETAIL_KEY
@Transactional public void execute(String taskKey, boolean dryRun, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
SchedTaskJobDelegate
execute
in interface SchedTaskJobDelegate
execute
in class AbstractSchedTaskJobDelegate
taskKey
- Task key to rundryRun
- indicates if execution shall be simulated with no actual changescontext
- Quartz' execution context, can be used to pass parameters to the joborg.quartz.JobExecutionException
- if anything goes wrongprotected 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 wrongprotected boolean hasToBeRegistered(TaskExec execution)
AbstractSchedTaskJobDelegate
hasToBeRegistered
in class AbstractSchedTaskJobDelegate
execution
- task executionCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.