mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement #I413PU 增加liteflow.enable参数,来标记是否自动装配liteflow
This commit is contained in:
@@ -9,6 +9,9 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
@ConfigurationProperties(prefix = "liteflow", ignoreUnknownFields = true)
|
||||
public class LiteflowProperty {
|
||||
|
||||
//是否装配liteflow
|
||||
private boolean enable;
|
||||
|
||||
//流程定义资源地址
|
||||
private String ruleSource;
|
||||
|
||||
@@ -28,6 +31,14 @@ public class LiteflowProperty {
|
||||
//这个参数主要给编码式注册元数据的场景用的,结合FlowBus.addNode一起用
|
||||
private boolean parseOnStart;
|
||||
|
||||
public boolean isEnable() {
|
||||
return enable;
|
||||
}
|
||||
|
||||
public void setEnable(boolean enable) {
|
||||
this.enable = enable;
|
||||
}
|
||||
|
||||
public String getRuleSource() {
|
||||
return ruleSource;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user