mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
增加注释
This commit is contained in:
@@ -25,6 +25,9 @@ public class LiteFlowChainBuilder {
|
||||
chain = new Chain();
|
||||
}
|
||||
|
||||
//在parser中chain的build是2段式的,因为涉及到依赖问题,以前是递归parser
|
||||
//2.6.8之后取消了递归的模式,两段式组装,先把带有chainName的chain对象放进去,第二段再组装chain里面的condition
|
||||
//所以这里setChainName的时候需要判断下
|
||||
public LiteFlowChainBuilder setChainName(String chainName){
|
||||
if (FlowBus.containChain(chainName)){
|
||||
this.chain = FlowBus.getChain(chainName);
|
||||
|
||||
Reference in New Issue
Block a user