enhancement #I691LD 对beforeProcess和afterProcess两个方法进行参数优化

This commit is contained in:
everywhere.z
2023-01-05 19:51:27 +08:00
parent df76a05c4f
commit db8f38846e
5 changed files with 21 additions and 30 deletions

View File

@@ -20,12 +20,12 @@ public class CmpConfig {
}
@LiteflowMethod(value = LiteFlowMethodEnum.BEFORE_PROCESS,nodeId = "a")
public void beforeAcmp(String nodeId, Slot slot){
public void beforeAcmp(NodeComponent bindCmp){
System.out.println("before A");
}
@LiteflowMethod(value = LiteFlowMethodEnum.AFTER_PROCESS,nodeId = "a")
public void afterAcmp(String nodeId, Slot slot){
public void afterAcmp(NodeComponent bindCmp){
System.out.println("after A");
}