public interface TaskActorProvider
| 限定符和类型 | 方法和说明 | 
|---|---|
| default boolean | abnormal(FlwTask flwTask,
        PerformType performType,
        List<FlwTaskActor> taskActors,
        Execution execution,
        NodeModel nodeModel)非正常创建任务处理逻辑,默认抛出异常 | 
| Integer | getActorType(NodeModel nodeModel)参与者类型转换处理方法 | 
| List<FlwTaskActor> | getTaskActors(NodeModel nodeModel,
             Execution execution)根据Task模型的assignee、assignmentHandler属性以及运行时数据,确定参与者 | 
| default boolean | isAllowed(NodeModel nodeModel,
         FlowCreator flowCreator)流程创建者是否允许操作执行当前节点 | 
default boolean isAllowed(NodeModel nodeModel, FlowCreator flowCreator)
nodeModel - 当前执行节点flowCreator - 流程创建者List<FlwTaskActor> getTaskActors(NodeModel nodeModel, Execution execution)
nodeModel - 节点模型execution - 执行对象default boolean abnormal(FlwTask flwTask, PerformType performType, List<FlwTaskActor> taskActors, Execution execution, NodeModel nodeModel)
flwTask - 当前任务performType - 任务参与类型 PerformTypetaskActors - 任务参与者execution - 执行对象 ExecutionnodeModel - 模型节点 NodeModelCopyright © 2025. All rights reserved.