| Package | Description |
|---|---|
| org.noear.solon.flow.stateful | |
| org.noear.solon.flow.stateful.repository |
| Modifier and Type | Method and Description |
|---|---|
static StateType |
StateType.codeOf(int code)
根据代码构建
|
StateType |
StatefulNode.getState()
状态
|
StateType |
StateRepository.getState(FlowContext context,
Node node)
获取状态
|
static StateType |
StateType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateType[] |
StateType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
StateRepository.onPostActivityState(FlowContext context,
Node node,
StateType state)
活动状态提交时(有些状态不需要推入)
|
void |
StatefulFlowEngine.postActivityState(FlowContext context,
Node activity,
StateType state)
提交活动状态
|
void |
StatefulFlowEngineDefault.postActivityState(FlowContext context,
Node activity,
StateType state)
提交活动状态
|
void |
StatefulFlowEngine.postActivityState(FlowContext context,
String chainId,
String activityNodeId,
StateType state)
提交活动状态
|
void |
StatefulFlowEngineDefault.postActivityState(FlowContext context,
String chainId,
String activityNodeId,
StateType state)
提交活动状态
|
protected void |
StatefulFlowEngineDefault.postActivityStateDo(FlowContext context,
Node activity,
StateType state)
提交活动状态
|
boolean |
StatefulFlowEngine.postActivityStateIfWaiting(FlowContext context,
Node activity,
StateType state)
提交活动状态(如果当前节点为等待介入)
|
boolean |
StatefulFlowEngineDefault.postActivityStateIfWaiting(FlowContext context,
Node activity,
StateType state)
提交活动状态(如果当前节点为等待介入)
|
boolean |
StatefulFlowEngine.postActivityStateIfWaiting(FlowContext context,
String chainId,
String activityNodeId,
StateType state)
提交活动状态(如果当前节点为等待介入)
|
boolean |
StatefulFlowEngineDefault.postActivityStateIfWaiting(FlowContext context,
String chainId,
String activityNodeId,
StateType state)
提交活动状态(如果当前节点为等待介入)
|
void |
StateRepository.putState(FlowContext context,
Node node,
StateType state)
推入状态
|
| Constructor and Description |
|---|
StatefulNode(Node node,
StateType state) |
| Modifier and Type | Method and Description |
|---|---|
StateType |
InMemoryStateRepository.getState(FlowContext context,
Node node) |
StateType |
RedisStateRepository.getState(FlowContext context,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryStateRepository.putState(FlowContext context,
Node node,
StateType state) |
void |
RedisStateRepository.putState(FlowContext context,
Node node,
StateType state) |
Copyright © 2025. All rights reserved.