mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-15 04:22:09 +08:00
1.重构核心代码 2.实现了流程链路的显式关联
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
*/
|
||||
package com.yomahub.flowtest.components;
|
||||
|
||||
import com.yomahub.liteflow.core.NodeComponent;
|
||||
import com.yomahub.liteflow.core.NodeCondComponent;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -16,7 +15,7 @@ import org.springframework.stereotype.Component;
|
||||
public class CondComponent extends NodeCondComponent {
|
||||
|
||||
@Override
|
||||
protected Class<? extends NodeComponent> processCond() throws Exception {
|
||||
return BComponent.class;
|
||||
public String processCond() throws Exception {
|
||||
return "b";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user