| Package | Description |
|---|---|
| org.noear.solon.flow | |
| org.noear.solon.flow.stateful |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Chain> |
FlowEngineDefault.chainMap |
| Modifier and Type | Method and Description |
|---|---|
Chain |
Condition.getChain()
获取链
|
Chain |
Link.getChain()
获取所属链
|
Chain |
Node.getChain()
获取所属链
|
Chain |
FlowEngineDefault.getChain(String chainId) |
Chain |
FlowEngine.getChain(String chainId)
获取链
|
static Chain |
Chain.parseByDom(org.noear.snack.ONode dom)
解析配置文档模型
|
static Chain |
Chain.parseByProperties(Properties properties)
解析配置属性
|
static Chain |
Chain.parseByText(String text)
解析配置文本
|
static Chain |
Chain.parseByUri(String uri)
解析配置文件
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Chain> |
FlowEngineDefault.getChains() |
Collection<Chain> |
FlowEngine.getChains()
获取所有链
|
| Modifier and Type | Method and Description |
|---|---|
default void |
FlowEngine.eval(Chain chain)
评估
|
default void |
FlowEngine.eval(Chain chain,
FlowContext context)
评估
|
int |
Counter.get(Chain chain,
String key)
获取
|
int |
Counter.incr(Chain chain,
String key)
增量
|
void |
FlowEngineDefault.load(Chain chain) |
void |
FlowEngine.load(Chain chain)
加载链
|
void |
Counter.set(Chain chain,
String key,
int value)
设置
|
Stack<Integer> |
Counter.stack(Chain chain,
String key)
记录栈
|
| Constructor and Description |
|---|
Condition(Chain chain,
String description) |
Link(Chain chain,
String prevId,
LinkDecl decl) |
Node(Chain chain,
NodeDecl decl,
List<Link> links) |
| Modifier and Type | Method and Description |
|---|---|
StatefulNode |
StatefulFlowEngine.getActivityNode(Chain chain,
FlowContext context)
获取当前活动节点
|
StatefulNode |
StatefulFlowEngineDefault.getActivityNode(Chain chain,
FlowContext context)
获取当前活动节点
|
Collection<StatefulNode> |
StatefulFlowEngine.getActivityNodes(Chain chain,
FlowContext context)
获取多个活动节点
|
Collection<StatefulNode> |
StatefulFlowEngineDefault.getActivityNodes(Chain chain,
FlowContext context)
获取多个活动节点
|
StatefulNode |
StatefulFlowEngine.stepBack(Chain chain,
FlowContext context)
单步后退
|
StatefulNode |
StatefulFlowEngineDefault.stepBack(Chain chain,
FlowContext context)
单步后退
|
StatefulNode |
StatefulFlowEngine.stepForward(Chain chain,
FlowContext context)
单步前进
|
StatefulNode |
StatefulFlowEngineDefault.stepForward(Chain chain,
FlowContext context)
单步前进
|
Copyright © 2025. All rights reserved.