mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-10 03:07:32 +08:00
在NodeComponent里增加getRequestData和getChainName两个包装方法
This commit is contained in:
@@ -273,4 +273,12 @@ public abstract class NodeComponent{
|
||||
public void setMonitorBus(MonitorBus monitorBus) {
|
||||
this.monitorBus = monitorBus;
|
||||
}
|
||||
|
||||
public <T> T getRequestData(){
|
||||
return getSlot().getRequestData();
|
||||
}
|
||||
|
||||
public String getChainName(){
|
||||
return getSlot().getChainName();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user