@Preview(value="3.4")
public interface FlowStatefulService
FlowEngine engine()
StatefulTask stepForward(String chainId, FlowContext context)
StatefulTask stepForward(Chain chain, FlowContext context)
StatefulTask stepBack(String chainId, FlowContext context)
StatefulTask stepBack(Chain chain, FlowContext context)
boolean postOperationIfWaiting(FlowContext context, String chainId, String nodeId, Operation operation)
boolean postOperationIfWaiting(FlowContext context, Node node, Operation operation)
void postOperation(FlowContext context, String chainId, String nodeId, Operation operation)
void postOperation(FlowContext context, Node node, Operation operation)
Collection<StatefulTask> getTasks(String chainId, FlowContext context)
context - 流上下文(不需要有人员配置)Collection<StatefulTask> getTasks(Chain chain, FlowContext context)
context - 流上下文(不需要有人员配置)StatefulTask getTask(String chainId, FlowContext context)
context - 流上下文(要有人员配置)StatefulTask getTask(Chain chain, FlowContext context)
context - 流上下文(要有人员配置)void clearState(String chainId, FlowContext context)
void clearState(Chain chain, FlowContext context)
Copyright © 2025. All rights reserved.