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

@@ -53,7 +53,7 @@ public class NodeComponentOfMethod extends NodeComponent {
@Override
public <T> void beforeProcess(String nodeId, Slot slot) {
public void beforeProcess() {
if(methodEnum != LiteFlowMethodEnum.BEFORE_PROCESS){
return;
}
@@ -68,7 +68,7 @@ public class NodeComponentOfMethod extends NodeComponent {
}
@Override
public <T> void afterProcess(String nodeId, Slot slot) {
public void afterProcess() {
if (methodEnum != LiteFlowMethodEnum.AFTER_PROCESS) {
return;
}