类 FlowRelation

java.lang.Object
com.codingapi.springboot.flow.domain.FlowRelation

public class FlowRelation extends Object
流程关系
  • 字段详细资料

    • DEFAULT_ORDER

      public static final int DEFAULT_ORDER
      另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • toSerializable

      public FlowRelationSerializable toSerializable()
      序列化
      返回:
      序列化对象
    • sourceMatcher

      public boolean sourceMatcher(String nodeCode)
      匹配节点
      参数:
      nodeCode - 节点编码
      返回:
      是否匹配
    • resort

      public void resort(int order)
      重新排序
      参数:
      order - 排序
    • trigger

      public FlowNode trigger(FlowSession flowSession)
      触发条件
      参数:
      flowSession - 流程内容
      返回:
      下一个节点
    • verify

      public void verify()
      验证
    • verifyNodes

      public void verifyNodes(List<FlowNode> nodes)