31 lines
634 B
Java
31 lines
634 B
Java
package com.seeyon.apps.daohuaxiangSys.jkts.constants;
|
|
|
|
|
|
public enum DaohuaxiangConstants {
|
|
|
|
plugin("daohuaxiang", "插件ID"),
|
|
url("http://localhost", "接口地址");
|
|
|
|
DaohuaxiangConstants(String defaultValue, String description) {
|
|
this.defaultValue = defaultValue;
|
|
this.description = description;
|
|
}
|
|
|
|
private String defaultValue;
|
|
private String description;
|
|
|
|
public String getDefaultValue() {
|
|
return defaultValue;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public static String getPluginId() {
|
|
return plugin.defaultValue;
|
|
}
|
|
|
|
}
|
|
|