接口 ConditionNodeHandler
- 所有已知实现类:
SimpleConditionNodeHandler
public interface ConditionNodeHandler
流程执行条件节点处理器
- 从以下版本开始:
- 1.0
-
方法概要
修饰符和类型方法说明getConditionNode(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的条件节点getInclusiveNodes(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的所有包容分支节点getRouteNode(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的路由节点
-
方法详细资料
-
getConditionNode
Optional<ConditionNode> getConditionNode(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的条件节点
子类需要实现的方法,来处理具体的操作
- 参数:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- 返回:
- true 成功 false 失败
-
getRouteNode
Optional<ConditionNode> getRouteNode(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的路由节点
子类需要实现的方法,来处理具体的操作
- 参数:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- 返回:
- true 成功 false 失败
-
getInclusiveNodes
Optional<List<ConditionNode>> getInclusiveNodes(FlowContext flowLongContext, Execution execution, NodeModel nodeModel) 获取满足条件的所有包容分支节点
子类需要实现的方法,来处理具体的操作
- 参数:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- 返回:
- true 成功 false 失败
-