30 lines
592 B
Java
30 lines
592 B
Java
|
|
package com.seeyon.apps.src_dhxorganization.constants;
|
||
|
|
|
||
|
|
public enum DhxConstants {
|
||
|
|
|
||
|
|
|
||
|
|
plugin("ydctu8c","插件ID"),
|
||
|
|
test("test","test");
|
||
|
|
|
||
|
|
DhxConstants(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;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|