| Package | Description |
|---|---|
| org.noear.solon.flow | |
| org.noear.solon.flow.driver | |
| org.noear.solon.flow.intercept |
| Modifier and Type | Method and Description |
|---|---|
ChainContext |
ChainContext.put(String key,
Object value)
推入
|
ChainContext |
ChainContext.putAll(Map<String,Object> model)
推入全部
|
ChainContext |
ChainContext.putIfAbsent(String key,
Object value)
推入
|
| Modifier and Type | Method and Description |
|---|---|
default void |
FlowEngine.eval(Chain chain,
ChainContext context)
评估
|
void |
FlowEngine.eval(Chain chain,
String startId,
int depth,
ChainContext context)
评估
|
default void |
FlowEngine.eval(String chainId,
ChainContext context)
评估
|
void |
FlowEngine.eval(String chainId,
String startId,
int depth,
ChainContext context)
评估
|
void |
ChainDriver.handleTask(ChainContext context,
Task task)
处理执行任务
|
boolean |
ChainDriver.handleTest(ChainContext context,
Condition condition)
处理条件检测
|
void |
ChainDriver.onNodeEnd(ChainContext context,
Node node)
节点运行结束时
|
void |
ChainDriver.onNodeStart(ChainContext context,
Node node)
节点运行开始时
|
void |
TaskComponent.run(ChainContext context,
Node node)
运行
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractChainDriver.handleConditionDo(ChainContext context,
Condition condition,
String description) |
void |
AbstractChainDriver.handleTask(ChainContext context,
Task task) |
protected void |
AbstractChainDriver.handleTaskDo(ChainContext context,
Task task,
String description) |
boolean |
AbstractChainDriver.handleTest(ChainContext context,
Condition condition) |
void |
AbstractChainDriver.onNodeEnd(ChainContext context,
Node node) |
void |
AbstractChainDriver.onNodeStart(ChainContext context,
Node node) |
protected void |
AbstractChainDriver.tryAsChainTask(ChainContext context,
Task task,
String description)
尝试如果是链则运行
|
protected void |
AbstractChainDriver.tryAsComponentTask(ChainContext context,
Task task,
String description)
尝试如果是组件则运行
|
protected boolean |
AbstractChainDriver.tryAsScriptCondition(ChainContext context,
Condition condition,
String description) |
protected void |
AbstractChainDriver.tryAsScriptTask(ChainContext context,
Task task,
String description)
尝试作为脚本运行
|
| Modifier and Type | Method and Description |
|---|---|
ChainContext |
ChainInvocation.getContext()
上下文
|
| Constructor and Description |
|---|
ChainInvocation(ChainDriver driver,
ChainContext context,
Node startNode,
int evalDepth,
List<org.noear.solon.core.util.RankEntity<ChainInterceptor>> interceptorList,
org.noear.solon.core.util.ConsumerEx<ChainInvocation> handler) |
Copyright © 2025. All rights reserved.