public enum PerConfigSubKey extends Enum<PerConfigSubKey> implements IConfigSubKey<String>, IPersistableConfigSubKeyEnum<PerConfigSubKey,String>
Module Permission Config
| 枚举常量和说明 |
|---|
PER_ALLOW_DUMMY_ACTION |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCode() |
String |
getDescription() |
PerConfigSubKey |
returnEnum(String persistedValue)
persistable enum type
|
static PerConfigSubKey |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PerConfigSubKey[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PerConfigSubKey PER_ALLOW_DUMMY_ACTION
public static PerConfigSubKey[] values()
for (PerConfigSubKey c : PerConfigSubKey.values()) System.out.println(c);
public static PerConfigSubKey valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
getCode 在接口中 IConfigSubKey<String>public String getDescription()
getDescription 在接口中 IConfigSubKey<String>public PerConfigSubKey returnEnum(String persistedValue)
IPersistableConfigSubKeyEnumpersistable enum type
returnEnum 在接口中 IPersistableConfigSubKeyEnum<PerConfigSubKey,String>persistedValue - database field valueCopyright © 2018 com.github.avatar21. All rights reserved.