public enum ConfigKey extends Enum<ConfigKey> implements IConfigKey
Configuration Key
| Enum Constant and Description |
|---|
PER |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDescription() |
<E extends Enum & IConfigSubKey> |
getSubClass() |
static ConfigKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigKey PER
public static ConfigKey[] values()
for (ConfigKey c : ConfigKey.values()) System.out.println(c);
public static ConfigKey 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 IConfigKeypublic String getDescription()
getDescription in interface IConfigKeypublic <E extends Enum & IConfigSubKey> Class<E> getSubClass()
getSubClass in interface IConfigKeyCopyright © 2018 com.github.avatar21. All rights reserved.