public class RunScheduledTasksJob
extends org.springframework.scheduling.quartz.QuartzJobBean
implements org.quartz.InterruptableJob
Constructor and Description |
---|
RunScheduledTasksJob()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeInternal(org.quartz.JobExecutionContext context) |
String |
getClientSpecificUniqueName(ClientTO client,
TaskTO task)
Get the unique name of the task with the name of the client
|
void |
interrupt()
Stops the job.
|
protected void executeInternal(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
executeInternal
in class org.springframework.scheduling.quartz.QuartzJobBean
org.quartz.JobExecutionException
public String getClientSpecificUniqueName(ClientTO client, TaskTO task)
client
- the clienttask
- the taskpublic void interrupt() throws org.quartz.UnableToInterruptJobException
interrupt
in interface org.quartz.InterruptableJob
org.quartz.UnableToInterruptJobException
- in case the job could not be interruptCopyright © 2019 Communote team. All rights reserved.