mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
feature #I4GS07 代码动态组件装配的特性
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user