Package com.aizuda.bpm.engine.handler
Interface ConditionNodeHandler
-
- All Known Implementing Classes:
SimpleConditionNodeHandler
public interface ConditionNodeHandler流程执行条件节点处理器官网尊重知识产权,不允许非法使用,后果自负
- Since:
- 1.0
- Author:
- hubin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ConditionNode>getConditionNode(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)获取满足条件的条件节点java.util.Optional<java.util.List<ConditionNode>>getInclusiveNodes(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)获取满足条件的所有包容分支节点java.util.Optional<ConditionNode>getRouteNode(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)获取满足条件的路由节点
-
-
-
Method Detail
-
getConditionNode
java.util.Optional<ConditionNode> getConditionNode(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)
获取满足条件的条件节点
子类需要实现的方法,来处理具体的操作
- Parameters:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- Returns:
- true 成功 false 失败
-
getRouteNode
java.util.Optional<ConditionNode> getRouteNode(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)
获取满足条件的路由节点
子类需要实现的方法,来处理具体的操作
- Parameters:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- Returns:
- true 成功 false 失败
-
getInclusiveNodes
java.util.Optional<java.util.List<ConditionNode>> getInclusiveNodes(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel)
获取满足条件的所有包容分支节点
子类需要实现的方法,来处理具体的操作
- Parameters:
flowLongContext- 流程引擎上下文execution- 执行对象nodeModel- 节点模型- Returns:
- true 成功 false 失败
-
-