Interface ConditionNodeHandler

  • All Known Implementing Classes:
    SimpleConditionNodeHandler

    public interface ConditionNodeHandler
    流程执行条件节点处理器

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

    Since:
    1.0
    Author:
    hubin
    • 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 失败