@Preview(value="3.1") public interface StatefulFlowEngine extends FlowEngine
static StatefulFlowEngine newInstance(StatefulSimpleFlowDriver driver)
static StatefulFlowEngine newInstance()
newInstance in interface FlowEngineStatefulFlowDriver getDriver()
void clearState(FlowContext context)
StatefulNode stepForward(String chainId, FlowContext context)
StatefulNode stepForward(Chain chain, FlowContext context)
StatefulNode stepBack(String chainId, FlowContext context)
StatefulNode stepBack(Chain chain, FlowContext context)
Collection<StatefulNode> getActivityNodes(String chainId, FlowContext context)
context - 流上下文(不需要有人员配置)Collection<StatefulNode> getActivityNodes(Chain chain, FlowContext context)
context - 流上下文(不需要有人员配置)StatefulNode getActivityNode(String chainId, FlowContext context)
context - 流上下文(要有人员配置)StatefulNode getActivityNode(Chain chain, FlowContext context)
context - 流上下文(要有人员配置)boolean postActivityStateIfWaiting(FlowContext context, String chainId, String activityNodeId, StateType state)
boolean postActivityStateIfWaiting(FlowContext context, Node activity, StateType state)
void postActivityState(FlowContext context, String chainId, String activityNodeId, StateType state)
void postActivityState(FlowContext context, Node activity, StateType state)
Copyright © 2025. All rights reserved.