public class StatefulTask extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ACTIVITY_LIST |
static String |
KEY_ACTIVITY_LIST_GET |
static String |
KEY_ACTIVITY_NODE |
| Constructor and Description |
|---|
StatefulTask(FlowEngine flowEngine,
Node node,
StateType state) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getNode()
节点
|
StateType |
getState()
状态
|
void |
runTask(FlowContext context)
运行任务
|
String |
toString() |
public static final String KEY_ACTIVITY_NODE
public static final String KEY_ACTIVITY_LIST
public static final String KEY_ACTIVITY_LIST_GET
public StatefulTask(FlowEngine flowEngine, Node node, StateType state)
@Preview(value="3.4") public void runTask(FlowContext context) throws FlowException
context - 上下文FlowExceptionpublic Node getNode()
public StateType getState()
Copyright © 2025. All rights reserved.