Class SimpleCreateTaskHandler
- java.lang.Object
-
- com.aizuda.bpm.engine.handler.impl.SimpleCreateTaskHandler
-
- All Implemented Interfaces:
CreateTaskHandler
public class SimpleCreateTaskHandler extends java.lang.Object implements CreateTaskHandler
默认流程任务创建处理器官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- hubin
-
-
Constructor Summary
Constructors Constructor Description SimpleCreateTaskHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleCreateTaskHandlergetInstance()booleanhandle(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)根据任务模型、执行对象,创建下一个任务,并添加到execution对象的tasks集合中
-
-
-
Method Detail
-
getInstance
public static SimpleCreateTaskHandler getInstance()
-
handle
public boolean handle(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)
根据任务模型、执行对象,创建下一个任务,并添加到execution对象的tasks集合中- Specified by:
handlein interfaceCreateTaskHandler- Parameters:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- Returns:
- true 成功 false 失败
-
-