| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFlowContext
流上下文(不支持序列化)
|
| Modifier and Type | Method and Description |
|---|---|
FlowContext |
FlowExchanger.context()
当前上下文
|
FlowContext |
FlowContext.executor(ExecutorService executor)
配置异步执行器
|
static FlowContext |
FlowContext.of() |
static FlowContext |
FlowContext.of(String instanceId) |
static FlowContext |
FlowContext.of(String instanceId,
StateController stateController) |
static FlowContext |
FlowContext.of(String instanceId,
StateController stateController,
StateRepository stateRepository) |
default FlowContext |
FlowContext.put(String key,
Object value)
推入
|
default FlowContext |
FlowContext.putAll(Map<String,Object> model)
推入全部
|
default FlowContext |
FlowContext.putIfAbsent(String key,
Object value)
推入
|
| Modifier and Type | Method and Description |
|---|---|
default void |
FlowEngine.eval(Chain chain,
FlowContext context)
运行
|
default void |
FlowEngine.eval(Node startNode,
FlowContext context)
运行
|
default void |
FlowEngine.eval(Node startNode,
int depth,
FlowContext context)
运行
|
default void |
FlowEngine.eval(String chainId,
FlowContext context)
运行
|
default void |
FlowEngine.eval(String chainId,
String startId,
FlowContext context)
运行
|
default void |
FlowEngine.eval(String chainId,
String startId,
int depth,
FlowContext context)
运行
|
void |
TaskComponent.run(FlowContext context,
Node node)
运行
|
void |
Evaluation.runTask(FlowContext context,
String code)
运行任务
|
boolean |
Evaluation.runTest(FlowContext context,
String code)
运行检测
|
| Constructor and Description |
|---|
FlowExchanger(FlowContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
LiquorEvaluation.runTask(FlowContext context,
String code) |
boolean |
LiquorEvaluation.runTest(FlowContext context,
String code) |
| Modifier and Type | Method and Description |
|---|---|
FlowContext |
ChainInvocation.getContext()
上下文
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ChainInterceptor.onNodeEnd(FlowContext context,
Node node)
节点运行结束时
|
default void |
ChainInterceptor.onNodeStart(FlowContext context,
Node node)
节点运行开始时
|
| Modifier and Type | Class and Description |
|---|---|
class |
StatefulFlowContext
有状态的流上下文(兼容无状态)
|
| Modifier and Type | Method and Description |
|---|---|
void |
FlowStatefulServiceDefault.clearState(Chain chain,
FlowContext context) |
void |
FlowStatefulService.clearState(Chain chain,
FlowContext context)
清空状态
|
void |
FlowStatefulServiceDefault.clearState(String chainId,
FlowContext context) |
void |
FlowStatefulService.clearState(String chainId,
FlowContext context)
清空状态
|
StatefulTask |
FlowStatefulServiceDefault.getTask(Chain chain,
FlowContext context)
获取当前活动节点
|
StatefulTask |
FlowStatefulService.getTask(Chain chain,
FlowContext context)
获取当前任务
|
StatefulTask |
FlowStatefulServiceDefault.getTask(String chainId,
FlowContext context)
获取当前活动节点
|
StatefulTask |
FlowStatefulService.getTask(String chainId,
FlowContext context)
获取当前任务
|
Collection<StatefulTask> |
FlowStatefulServiceDefault.getTasks(Chain chain,
FlowContext context)
获取多个活动节点
|
Collection<StatefulTask> |
FlowStatefulService.getTasks(Chain chain,
FlowContext context)
获取多个任务
|
Collection<StatefulTask> |
FlowStatefulServiceDefault.getTasks(String chainId,
FlowContext context)
获取多个活动节点
|
Collection<StatefulTask> |
FlowStatefulService.getTasks(String chainId,
FlowContext context)
获取多个任务
|
default boolean |
StateController.isAutoForward(FlowContext context,
Node node)
是否自动前进
|
boolean |
StateController.isOperatable(FlowContext context,
Node node)
是否可操作的
|
void |
FlowStatefulServiceDefault.postOperation(Node node,
Operation operation,
FlowContext context)
提交操作
|
void |
FlowStatefulService.postOperation(Node node,
Operation operation,
FlowContext context)
提交操作
|
void |
FlowStatefulServiceDefault.postOperation(String chainId,
String nodeId,
Operation operation,
FlowContext context)
提交操作
|
void |
FlowStatefulService.postOperation(String chainId,
String nodeId,
Operation operation,
FlowContext context)
提交操作
|
boolean |
FlowStatefulServiceDefault.postOperationIfWaiting(Node node,
Operation operation,
FlowContext context)
提交操作(如果当前节点为等待介入)
|
boolean |
FlowStatefulService.postOperationIfWaiting(Node node,
Operation operation,
FlowContext context)
提交操作(如果当前任务为等待介入)
|
boolean |
FlowStatefulServiceDefault.postOperationIfWaiting(String chainId,
String nodeId,
Operation operation,
FlowContext context)
提交操作(如果当前节点为等待介入)
|
boolean |
FlowStatefulService.postOperationIfWaiting(String chainId,
String nodeId,
Operation operation,
FlowContext context)
提交操作(如果当前任务为等待介入)
|
void |
StatefulTask.runTask(FlowContext context)
运行任务
|
void |
StateRepository.stateClear(FlowContext context)
状态清空
|
StateType |
StateRepository.stateGet(FlowContext context,
Node node)
状态获取
|
void |
StateRepository.statePut(FlowContext context,
Node node,
StateType state)
状态推入
|
void |
StateRepository.stateRemove(FlowContext context,
Node node)
状态移除
|
StatefulTask |
FlowStatefulServiceDefault.stepBack(Chain chain,
FlowContext context)
单步后退
|
StatefulTask |
FlowStatefulService.stepBack(Chain chain,
FlowContext context)
单步后退
|
StatefulTask |
FlowStatefulServiceDefault.stepBack(String chainId,
FlowContext context)
单步后退
|
StatefulTask |
FlowStatefulService.stepBack(String chainId,
FlowContext context)
单步后退
|
StatefulTask |
FlowStatefulServiceDefault.stepForward(Chain chain,
FlowContext context)
单步前进
|
StatefulTask |
FlowStatefulService.stepForward(Chain chain,
FlowContext context)
单步前进
|
StatefulTask |
FlowStatefulServiceDefault.stepForward(String chainId,
FlowContext context)
单步前进
|
StatefulTask |
FlowStatefulService.stepForward(String chainId,
FlowContext context)
单步前进
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ActorStateController.isAutoForward(FlowContext context,
Node node) |
boolean |
NotBlockStateController.isAutoForward(FlowContext context,
Node node) |
boolean |
ActorStateController.isOperatable(FlowContext context,
Node node)
是否可操作的
|
boolean |
BlockStateController.isOperatable(FlowContext context,
Node node)
是否可操作的
|
boolean |
NotBlockStateController.isOperatable(FlowContext context,
Node node)
是否可操作的
|
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryStateRepository.stateClear(FlowContext context) |
void |
RedisStateRepository.stateClear(FlowContext context) |
StateType |
InMemoryStateRepository.stateGet(FlowContext context,
Node node) |
StateType |
RedisStateRepository.stateGet(FlowContext context,
Node node) |
void |
InMemoryStateRepository.statePut(FlowContext context,
Node node,
StateType state) |
void |
RedisStateRepository.statePut(FlowContext context,
Node node,
StateType state) |
void |
InMemoryStateRepository.stateRemove(FlowContext context,
Node node) |
void |
RedisStateRepository.stateRemove(FlowContext context,
Node node) |
| Modifier and Type | Class and Description |
|---|---|
class |
StatelessFlowContext
无状态流上下文(不支持序列化)
|
Copyright © 2025. All rights reserved.