public enum PerConfigSubKey extends Enum<PerConfigSubKey> implements IConfigSubKey<String>, IPersistableConfigSubKeyEnum<PerConfigSubKey,String>
Module Permission Config
| Enum Constant and Description |
|---|
PER_ALLOW_DUMMY_ACTION |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDescription() |
PerConfigSubKey |
returnEnum(String persistedValue)
persistable enum type
|
static PerConfigSubKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerConfigSubKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
getCode in interface IConfigSubKey<String>public String getDescription()
getDescription in interface IConfigSubKey<String>public PerConfigSubKey returnEnum(String persistedValue)
IPersistableConfigSubKeyEnumpersistable enum type
returnEnum in interface IPersistableConfigSubKeyEnum<PerConfigSubKey,String>persistedValue - database field valueCopyright © 2018 com.github.avatar21. All rights reserved.