public interface IScheduleTrigger extends IScheduleShutdown
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTask(TDistributedScheduleTask task)
添加任务
|
void |
editTask(String taskUid,
TDistributedScheduleTask task)
编辑任务
|
boolean |
removeTask(String taskUid)
删除任务
|
void |
trigger(ScheduleContext context)
初始化
|
shutdownvoid trigger(ScheduleContext context)
context - 上下文void addTask(TDistributedScheduleTask task)
task - 任务void editTask(String taskUid, TDistributedScheduleTask task)
taskUid - 任务标识task - 任务boolean removeTask(String taskUid)
taskUid - 任务标识Copyright © 2025. All rights reserved.