Class GroupMemberProvisionTaskJobDelegate

    • Constructor Detail

      • GroupMemberProvisionTaskJobDelegate

        public GroupMemberProvisionTaskJobDelegate()
    • Method Detail

      • execute

        @Transactional
        public void execute​(TaskType taskType,
                            String taskKey,
                            boolean dryRun,
                            org.quartz.JobExecutionContext context)
                     throws org.quartz.JobExecutionException
        Description copied from interface: SchedTaskJobDelegate
        Executes a Quartz Job to run the given Task.
        Specified by:
        execute in interface SchedTaskJobDelegate
        Overrides:
        execute in class AbstractSchedTaskJobDelegate<SchedTask>
        Parameters:
        taskType - Type of task to run
        taskKey - Task key to run
        dryRun - indicates if execution shall be simulated with no actual changes
        context - Quartz' execution context, can be used to pass parameters to the job
        Throws:
        org.quartz.JobExecutionException - if anything goes wrong
      • 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 class AbstractSchedTaskJobDelegate<SchedTask>
        Parameters:
        dryRun - whether to actually touch the data
        executor - the user executing this task
        context - 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