|
@@ -2,17 +2,17 @@ package com.aizuda.boot.modules.flw.flow;
|
|
|
|
|
|
import com.aizuda.bpm.engine.core.Execution;
|
|
|
import com.aizuda.bpm.engine.core.FlowLongContext;
|
|
|
-import com.aizuda.bpm.engine.handler.ConditionArgsHandler;
|
|
|
+import com.aizuda.bpm.engine.handler.impl.SimpleConditionNodeHandler;
|
|
|
import com.aizuda.bpm.engine.model.NodeModel;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
@Component
|
|
|
-public class FlowConditionArgsHandler implements ConditionArgsHandler {
|
|
|
+public class FlowConditionNodeHandler extends SimpleConditionNodeHandler {
|
|
|
|
|
|
@Override
|
|
|
- public Map<String, Object> handle(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel) {
|
|
|
+ public Map<String, Object> getArgs(FlowLongContext flowLongContext, Execution execution, NodeModel nodeModel) {
|
|
|
return FlowForm.flowArgs(execution.getArgs());
|
|
|
}
|
|
|
}
|