feature #I4GS07 代码动态组件装配的特性

This commit is contained in:
bryan31
2022-01-19 21:51:46 +08:00
parent 8069b20afe
commit 468a44787a

View File

@@ -63,9 +63,14 @@ public class FlowExecutor {
* FlowExecutor的初始化化方式主要用于parse规则文件
*/
public void init() {
if (ObjectUtil.isNull(liteflowConfig) || StrUtil.isBlank(liteflowConfig.getRuleSource())) {
if (ObjectUtil.isNull(liteflowConfig)) {
throw new ConfigErrorException("config error, please check liteflow config property");
}
if (StrUtil.isBlank(liteflowConfig.getRuleSource())){
return;
}
List<String> sourceRulePathList = Lists.newArrayList(liteflowConfig.getRuleSource().split(",|;"));
FlowParser parser = null;