package com.iplatform.scheduler.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties(prefix = "iplatform.scheduler")
|
public class SchedulerManagerProperties {
|
|
private Boolean enabled = Boolean.FALSE;
|
|
// 是否支持数据库存在调度任务
|
// 该配置废弃,通过引入 walker-jdbc自动启动数据库方式管理器。
|
private Boolean databaseEnabled = Boolean.FALSE;
|
|
public Boolean getEnabled() {
|
return enabled;
|
}
|
|
public void setEnabled(Boolean enabled) {
|
this.enabled = enabled;
|
}
|
|
@Deprecated
|
public Boolean getDatabaseEnabled() {
|
return databaseEnabled;
|
}
|
|
@Deprecated
|
public void setDatabaseEnabled(Boolean databaseEnabled) {
|
this.databaseEnabled = databaseEnabled;
|
}
|
|
}
|