enhancement #I413PU 增加liteflow.enable参数,来标记是否自动装配liteflow

This commit is contained in:
bryan31
2021-07-16 19:32:54 +08:00
parent 868d7ef20e
commit ead238e5d2
6 changed files with 36 additions and 2 deletions

View File

@@ -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;
}