public interface IContextBus<T,R>
| 限定符和类型 | 方法和说明 |
|---|---|
<P> void |
addCondition(java.lang.String key,
P value)
Add the parameters of flow condition judgment
|
java.util.Map<java.lang.String,java.lang.Object> |
getConditionMap()
Get the parameters of flow condition judgment
|
java.lang.String |
getFlowId()
Get flow ID
|
T |
getParam()
Get flow execution parameters
|
java.lang.Exception |
getPassException(java.lang.String nodeId)
Get the execution exception of any node
|
<P> P |
getPassResult(java.lang.String nodeId)
Get the execution result of any node
|
<P> P |
getPreResult()
Get the execution result of the last node, which may return null
|
R |
getResult()
Get flow execution result
|
java.lang.String |
getRuntimeId()
Get flow execution Instance ID
|
<P> P |
getTransmitInfo(java.lang.String key)
Get additional transmission context information
|
<P> void |
putTransmitInfo(java.lang.String key,
P content)
Put additional transmission context information
|
void |
rollbackProcess()
Rollback flow execution instance
|
void |
stopProcess()
Stop flow execution instance
|
T getParam()
R getResult()
<P> void putTransmitInfo(java.lang.String key,
P content)
<P> P getTransmitInfo(java.lang.String key)
java.util.Map<java.lang.String,java.lang.Object> getConditionMap()
<P> void addCondition(java.lang.String key,
P value)
<P> P getPreResult()
<P> P getPassResult(java.lang.String nodeId)
java.lang.Exception getPassException(java.lang.String nodeId)
java.lang.String getFlowId()
java.lang.String getRuntimeId()
void stopProcess()
void rollbackProcess()
Copyright © 2022. All rights reserved.