From e2e3ef7c38060c067fce68a826f2ead9a0633fa2 Mon Sep 17 00:00:00 2001 From: bryan31 Date: Fri, 3 Jun 2022 01:16:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8NodeComponent=E9=87=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0getRequestData=E5=92=8CgetChainName=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yomahub/liteflow/core/NodeComponent.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java index 309c53b9c..ee93d1607 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java @@ -273,4 +273,12 @@ public abstract class NodeComponent{ public void setMonitorBus(MonitorBus monitorBus) { this.monitorBus = monitorBus; } + + public T getRequestData(){ + return getSlot().getRequestData(); + } + + public String getChainName(){ + return getSlot().getChainName(); + } }