@Preview(value="3.1") public class StatefulFlowEngineDefault extends FlowEngineDefault implements FlowEngine, StatefulFlowEngine
chainMap, driverMap, interceptorList| Constructor and Description |
|---|
StatefulFlowEngineDefault(StatefulFlowDriver driver) |
addInterceptor, condition_test, eval, eval, evalDo, exclusive_run, getChain, getChains, inclusive_run, initContextDo, load, node_run, parallel_run, task_exec, unload, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstance, newInstancepublic StatefulFlowEngineDefault(StatefulFlowDriver driver)
public StatefulFlowDriver getDriver()
getDriver in interface StatefulFlowEnginepublic void register(String name, FlowDriver driver)
FlowEngineregister in interface FlowEngineregister in class FlowEngineDefaultname - 名字driver - 驱动器public StatefulNode stepForward(String chainId, FlowContext context)
stepForward in interface StatefulFlowEnginepublic StatefulNode stepForward(Chain chain, FlowContext context)
stepForward in interface StatefulFlowEnginepublic StatefulNode stepBack(String chainId, FlowContext context)
stepBack in interface StatefulFlowEnginepublic StatefulNode stepBack(Chain chain, FlowContext context)
stepBack in interface StatefulFlowEnginepublic Collection<StatefulNode> getActivityNodes(String chainId, FlowContext context)
getActivityNodes in interface StatefulFlowEnginecontext - 流上下文(不需要有参与者配置)public Collection<StatefulNode> getActivityNodes(Chain chain, FlowContext context)
getActivityNodes in interface StatefulFlowEnginecontext - 流上下文(不需要有参与者配置)public StatefulNode getActivityNode(String chainId, FlowContext context)
getActivityNode in interface StatefulFlowEnginecontext - 流上下文(要有参与者配置)public StatefulNode getActivityNode(Chain chain, FlowContext context)
getActivityNode in interface StatefulFlowEnginecontext - 流上下文(要有参与者配置)public boolean postActivityStateIfWaiting(FlowContext context, String chainId, String activityNodeId, StateType state)
postActivityStateIfWaiting in interface StatefulFlowEnginepublic boolean postActivityStateIfWaiting(FlowContext context, Node activity, StateType state)
postActivityStateIfWaiting in interface StatefulFlowEnginepublic void postActivityState(FlowContext context, String chainId, String activityNodeId, StateType state)
postActivityState in interface StatefulFlowEnginepublic void postActivityState(FlowContext context, Node activity, StateType state)
postActivityState in interface StatefulFlowEngineprotected void postActivityStateDo(FlowContext context, Node activity, StateType state)
public void clearState(FlowContext context)
StatefulFlowEngineclearState in interface StatefulFlowEngineprotected void backHandle(Node activity, FlowContext context)
activity - 活动节点context - 流上下文Copyright © 2025. All rights reserved.