@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(String chainId, String nodeId, Operation operation, FlowContext context)
boolean postOperationIfWaiting(Node node, Operation operation, FlowContext context)
void postOperation(String chainId, String nodeId, Operation operation, FlowContext context)
void postOperation(Node node, Operation operation, FlowContext context)
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.