Package com.aizuda.bpm.engine.listener
Interface TaskListener
-
public interface TaskListener流程任务监听官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- hubin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleannotify(TaskEventType eventType, java.util.function.Supplier<FlwTask> supplier, java.util.List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator)流程引擎监听通知
-
-
-
Method Detail
-
notify
boolean notify(TaskEventType eventType, java.util.function.Supplier<FlwTask> supplier, java.util.List<FlwTaskActor> taskActors, NodeModel nodeModel, FlowCreator flowCreator)
流程引擎监听通知- Parameters:
eventType- 事件类型supplier- 监听任务提供者taskActors- 监听任务参与者nodeModel- 当前执行节点NodeModel为 null 需要根据 runtimeService.getNodeModel(instanceId, nodeKey) 方法获取flowCreator- 处理人员- Returns:
- 通知结果 true 成功 false 失败
-
-