限定符和类型 | 字段和说明 |
---|---|
protected ChainDriver |
driver |
protected FlowEngine |
engine |
java.lang.Object |
result |
构造器和说明 |
---|
ChainContext() |
ChainContext(ChainDriver driver) |
限定符和类型 | 方法和说明 |
---|---|
Counter |
counter()
计数器
|
FlowEngine |
engine()
当前流程引擎
|
void |
interrupt()
中断(执行中可中断流)
|
boolean |
isInterrupted()
是否已中断
|
<T> T |
param(java.lang.String key)
参数获取
|
<T> T |
paramOrDefault(java.lang.String key,
T def)
参数获取或默认
|
java.util.Map<java.lang.String,java.lang.Object> |
params()
参数集合
|
ChainContext |
paramSet(java.lang.String key,
java.lang.Object value)
参数设置
|
public java.lang.Object result
protected final transient ChainDriver driver
protected transient FlowEngine engine
public ChainContext()
public ChainContext(ChainDriver driver)
public FlowEngine engine()
public Counter counter()
public boolean isInterrupted()
public void interrupt()
public java.util.Map<java.lang.String,java.lang.Object> params()
public ChainContext paramSet(java.lang.String key, java.lang.Object value)
public <T> T param(java.lang.String key)
public <T> T paramOrDefault(java.lang.String key, T def)