Class GroupMemberProvisionTaskJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
-
- org.apache.syncope.core.provisioning.java.job.GroupMemberProvisionTaskJobDelegate
-
- All Implemented Interfaces:
org.apache.syncope.core.provisioning.api.job.JobDelegate
,org.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate
public class GroupMemberProvisionTaskJobDelegate extends AbstractSchedTaskJobDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_JOBDETAIL_KEY
static String
GROUP_KEY_JOBDETAIL_KEY
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
auditManager, entityFactory, interrupt, interrupted, LOG, notificationManager, status, task, taskDAO, taskExecDAO
-
-
Constructor Summary
Constructors Constructor Description GroupMemberProvisionTaskJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doExecute(boolean dryRun, String executor, org.quartz.JobExecutionContext context)
The actual execution, delegated to child classes.void
execute(String taskKey, boolean dryRun, org.quartz.JobExecutionContext context)
protected boolean
hasToBeRegistered(org.apache.syncope.core.persistence.api.entity.task.TaskExec execution)
Template method to determine whether this job's task execution has to be persisted or not.-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
currentStatus, interrupt, isInterrupted, register
-
-
-
-
Field Detail
-
ACTION_JOBDETAIL_KEY
public static final String ACTION_JOBDETAIL_KEY
- See Also:
- Constant Field Values
-
GROUP_KEY_JOBDETAIL_KEY
public static final String GROUP_KEY_JOBDETAIL_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
@Transactional public void execute(String taskKey, boolean dryRun, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Specified by:
execute
in interfaceorg.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate
- Overrides:
execute
in classAbstractSchedTaskJobDelegate
- Throws:
org.quartz.JobExecutionException
-
doExecute
protected String doExecute(boolean dryRun, String executor, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
Description copied from class:AbstractSchedTaskJobDelegate
The actual execution, delegated to child classes.- Specified by:
doExecute
in classAbstractSchedTaskJobDelegate
- Parameters:
dryRun
- whether to actually touch the dataexecutor
- the user executing this taskcontext
- Quartz' execution context, can be used to pass parameters to the job- Returns:
- the task execution status to be set
- Throws:
org.quartz.JobExecutionException
- if anything goes wrong
-
hasToBeRegistered
protected boolean hasToBeRegistered(org.apache.syncope.core.persistence.api.entity.task.TaskExec execution)
Description copied from class:AbstractSchedTaskJobDelegate
Template method to determine whether this job's task execution has to be persisted or not.- Overrides:
hasToBeRegistered
in classAbstractSchedTaskJobDelegate
- Parameters:
execution
- task execution- Returns:
- whether to persist or not
-
-