From 5803bb96b715e694178c32f8426d41362086bf0a Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Wed, 15 Jun 2022 15:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liteflow/test/customMethodName/cmp/ACmp.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/liteflow-testcase-declare-component/src/test/java/com/yomahub/liteflow/test/customMethodName/cmp/ACmp.java b/liteflow-testcase-declare-component/src/test/java/com/yomahub/liteflow/test/customMethodName/cmp/ACmp.java index 1ff2e18b3..3fded6e00 100644 --- a/liteflow-testcase-declare-component/src/test/java/com/yomahub/liteflow/test/customMethodName/cmp/ACmp.java +++ b/liteflow-testcase-declare-component/src/test/java/com/yomahub/liteflow/test/customMethodName/cmp/ACmp.java @@ -43,4 +43,15 @@ public class ACmp{ public void onAcmpSuccess(NodeComponent bindCmp){ System.out.println("Acmp success"); } + + @LiteflowMethod(LiteFlowMethodEnum.ON_ERROR) + public void onAcmpError(NodeComponent bindCmp){ + System.out.println("Acmp error"); + } + + @LiteflowMethod(LiteFlowMethodEnum.IS_END) + public boolean isAcmpEnd(NodeComponent bindCmp) { + System.out.println("Acmp end config"); + return false; + } }