mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 04:02:09 +08:00
enhancement #IAF4NJ liteflow-rule-sql 不支持 solon
This commit is contained in:
@@ -27,6 +27,7 @@ public class LiteflowAutoConfiguration {
|
||||
LiteflowConfig liteflowConfig = new LiteflowConfig();
|
||||
liteflowConfig.setRuleSource(property.getRuleSource());
|
||||
liteflowConfig.setRuleSourceExtData(property.getRuleSourceExtData());
|
||||
liteflowConfig.setRuleSourceExtDataMap(property.getRuleSourceExtDataMap());
|
||||
liteflowConfig.setSlotSize(property.getSlotSize());
|
||||
liteflowConfig.setThreadExecutorClass(property.getThreadExecutorClass());
|
||||
liteflowConfig.setWhenMaxWaitSeconds(property.getWhenMaxWaitSeconds());
|
||||
|
||||
@@ -4,6 +4,8 @@ import com.yomahub.liteflow.enums.ParseModeEnum;
|
||||
import org.noear.solon.annotation.Configuration;
|
||||
import org.noear.solon.annotation.Inject;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 执行流程主要的参数类
|
||||
*
|
||||
@@ -24,6 +26,8 @@ public class LiteflowProperty {
|
||||
// 流程资源扩展数据
|
||||
private String ruleSourceExtData;
|
||||
|
||||
private Map<String, String> ruleSourceExtDataMap;
|
||||
|
||||
// slot的数量
|
||||
private int slotSize;
|
||||
|
||||
@@ -251,4 +255,16 @@ public class LiteflowProperty {
|
||||
public void setParseMode(ParseModeEnum parseMode) {
|
||||
this.parseMode = parseMode;
|
||||
}
|
||||
|
||||
public Map<String, String> getRuleSourceExtDataMap() {
|
||||
return ruleSourceExtDataMap;
|
||||
}
|
||||
|
||||
public void setRuleSourceExtDataMap(Map<String, String> ruleSourceExtDataMap) {
|
||||
this.ruleSourceExtDataMap = ruleSourceExtDataMap;
|
||||
}
|
||||
|
||||
public Boolean getFallbackCmpEnable() {
|
||||
return fallbackCmpEnable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user