@Component public class WorkFlowScheduler extends FlowScheduler implements org.springframework.scheduling.annotation.SchedulingConfigurer
| 构造器和说明 |
|---|
WorkFlowScheduler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
配置定时任务
该方法用于注册和配置工作流的提醒任务,根据提醒参数中的Cron表达式来设置任务执行时间
|
getAutoFlowCreator, remind, setRemindParampublic void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
configureTasks 在接口中 org.springframework.scheduling.annotation.SchedulingConfigurertaskRegistrar - 定时任务注册器,用于添加和管理定时任务Copyright © 2026. All rights reserved.