Class SimpleCreateTaskHandler

  • All Implemented Interfaces:
    CreateTaskHandler

    public class SimpleCreateTaskHandler
    extends java.lang.Object
    implements CreateTaskHandler
    默认流程任务创建处理器

    官网尊重知识产权,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Constructor Detail

      • SimpleCreateTaskHandler

        public SimpleCreateTaskHandler()
    • Method Detail

      • handle

        public boolean handle​(FlowLongContext flowLongContext,
                              Execution execution,
                              NodeModel nodeModel)
        根据任务模型、执行对象,创建下一个任务,并添加到execution对象的tasks集合中
        Specified by:
        handle in interface CreateTaskHandler
        Parameters:
        flowLongContext - 流程引擎上下文
        execution - 执行对象
        nodeModel - 节点模型
        Returns:
        true 成功 false 失败