public class DoFileActionJob
extends java.lang.Object
implements com.fr.third.org.quartz.Job
构造器和说明 |
---|
DoFileActionJob() |
限定符和类型 | 方法和说明 |
---|---|
static void |
doFileAction(ScheduleTask scheduleTask,
java.util.List attachFileList)
执行定时任务附件处理
|
void |
execute(com.fr.third.org.quartz.JobExecutionContext context)
执行定时任务附件处理
|
static void |
recordError(ScheduleTask scheduleTask,
java.lang.Exception e,
java.util.List attachFileList,
java.lang.String username)
记录错误信息
|
static void |
recordSuccess(ScheduleTask scheduleTask,
java.lang.String username)
记录成功执行信息
|
static void |
scheduleFileRestartTask(ScheduleTask task,
java.util.List attachFileList)
重启定时任务
|
public static void doFileAction(ScheduleTask scheduleTask, java.util.List attachFileList)
scheduleTask
- 定时任务attachFileList
- 附件列表public static void recordError(ScheduleTask scheduleTask, java.lang.Exception e, java.util.List attachFileList, java.lang.String username)
scheduleTask
- 定时任务e
- 异常信息attachFileList
- 附件列表username
- 用户名public static void recordSuccess(ScheduleTask scheduleTask, java.lang.String username)
scheduleTask
- 定时任务username
- 用户名public static void scheduleFileRestartTask(ScheduleTask task, java.util.List attachFileList)
task
- 定时任务attachFileList
- 附件列表public void execute(com.fr.third.org.quartz.JobExecutionContext context) throws com.fr.third.org.quartz.JobExecutionException
execute
在接口中 com.fr.third.org.quartz.Job
context
- 任务处理上下文com.fr.third.org.quartz.JobExecutionException
- 异常