mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-17 05:20:42 +08:00
enhancement #I691LD 对beforeProcess和afterProcess两个方法进行参数优化
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user