| Package | Description |
|---|---|
| org.noear.solon.flow | |
| org.noear.solon.flow.driver | |
| org.noear.solon.flow.intercept | |
| org.noear.solon.flow.stateful |
| Modifier and Type | Method and Description |
|---|---|
default FlowExchanger |
FlowContext.exchanger()
交换器(只在任务执行时可获取)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FlowEngineDefault.activity_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.condition_test(FlowDriver driver,
FlowExchanger exchanger,
Condition condition,
boolean def)
条件检测
|
void |
FlowEngineDefault.eval(Node startNode,
int depth,
FlowExchanger exchanger)
评估
|
void |
FlowEngine.eval(Node startNode,
int depth,
FlowExchanger exchanger)
运行
|
void |
FlowEngineDefault.eval(String chainId,
String startId,
int depth,
FlowExchanger exchanger)
评估
|
void |
FlowEngine.eval(String chainId,
String startId,
int depth,
FlowExchanger exchanger)
运行
|
protected boolean |
FlowEngineDefault.exclusive_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth)
运行排他网关
|
boolean |
FlowDriver.handleCondition(FlowExchanger exchanger,
Condition condition)
处理条件检测
|
default void |
FlowDriver.handleTask(FlowExchanger exchanger,
Task task)
处理执行任务
|
protected boolean |
FlowEngineDefault.inclusive_run_in(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.inclusive_run_out(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.inclusive_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth)
运行包容网关
|
protected boolean |
FlowEngineDefault.iterator_run_in(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.iterator_run_out(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.iterator_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.node_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth)
运行节点
|
protected void |
FlowEngineDefault.onNodeEnd(FlowDriver driver,
FlowExchanger exchanger,
Node node)
节点运行结束时
|
void |
FlowDriver.onNodeEnd(FlowExchanger exchanger,
Node node)
节点运行结束时
|
protected void |
FlowEngineDefault.onNodeStart(FlowDriver driver,
FlowExchanger exchanger,
Node node)
节点运行开始时
|
void |
FlowDriver.onNodeStart(FlowExchanger exchanger,
Node node)
节点运行开始时
|
protected boolean |
FlowEngineDefault.parallel_run_in(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.parallel_run_out(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth) |
protected boolean |
FlowEngineDefault.parallel_run(FlowDriver driver,
FlowExchanger exchanger,
Node node,
int depth)
运行并行网关
|
void |
FlowDriver.postHandleTask(FlowExchanger exchanger,
Task task)
提交处理任务
|
protected void |
FlowEngineDefault.prepare(FlowExchanger exchanger)
准备工作
|
protected void |
FlowEngineDefault.task_exec(FlowDriver driver,
FlowExchanger exchanger,
Node node)
执行任务
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractFlowDriver.handleCondition(FlowExchanger exchanger,
Condition condition)
处理条件
|
protected boolean |
AbstractFlowDriver.handleConditionDo(FlowExchanger exchanger,
Condition condition,
String description) |
void |
SimpleFlowDriver.handleTask(FlowExchanger exchanger,
Task task)
处理任务
|
protected void |
AbstractFlowDriver.handleTaskDo(FlowExchanger exchanger,
Task task,
String description) |
void |
AbstractFlowDriver.onNodeEnd(FlowExchanger exchanger,
Node node)
当节点结束
|
void |
AbstractFlowDriver.onNodeStart(FlowExchanger exchanger,
Node node)
当节点开始(节点不是任务)
|
void |
AbstractFlowDriver.postHandleTask(FlowExchanger exchanger,
Task task)
提交处理任务
|
protected void |
AbstractFlowDriver.tryAsChainTask(FlowExchanger exchanger,
Task task,
String description)
尝试作为子链任务运行
|
protected void |
AbstractFlowDriver.tryAsComponentTask(FlowExchanger exchanger,
Task task,
String description)
尝试作为组件任务运行
|
protected boolean |
AbstractFlowDriver.tryAsScriptCondition(FlowExchanger exchanger,
Condition condition,
String description)
尝试作为脚本条件运行
|
protected void |
AbstractFlowDriver.tryAsScriptTask(FlowExchanger exchanger,
Task task,
String description)
尝试作为脚本任务运行
|
| Modifier and Type | Method and Description |
|---|---|
FlowExchanger |
ChainInvocation.getExchanger()
交换器
|
| Constructor and Description |
|---|
ChainInvocation(FlowDriver driver,
FlowExchanger exchanger,
Node startNode,
int evalDepth,
List<org.noear.solon.core.util.RankEntity<ChainInterceptor>> interceptorList,
Consumer<ChainInvocation> lastHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FlowStatefulServiceDefault.backHandle(FlowDriver driver,
Node node,
FlowExchanger exchanger)
后退处理
|
protected void |
FlowStatefulServiceDefault.forwardHandle(FlowDriver driver,
Node node,
FlowExchanger exchanger,
StateType newState)
前进处理
|
protected void |
FlowStatefulServiceDefault.postOperationDo(FlowExchanger exchanger,
Node node,
Operation operation)
提交操作
|
Copyright © 2025. All rights reserved.