public static enum DemoConfig.Option extends Enum<DemoConfig.Option> implements io.ultreia.java4all.config.ConfigOptionDef
| Enum Constant and Description |
|---|
CONFIG_FILE |
DEMO_CLASS |
DEMO_COLOR |
DEMO_PATH |
FONT_SIZE |
FULL_SCREEN |
KEY_OPEN_CONFIG |
LOCALE |
LOG_LEVEL |
LOG_PATTERN_LAYOUT |
| Modifier and Type | Field and Description |
|---|---|
boolean |
_final |
boolean |
_transient |
String |
defaultValue |
String |
description |
String |
key |
Class<?> |
type |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
String |
getDescription() |
String |
getKey() |
Class<?> |
getType() |
boolean |
isFinal() |
boolean |
isTransient() |
void |
setDefaultValue(String defaultValue) |
void |
setFinal(boolean _final) |
void |
setTransient(boolean _transient) |
static DemoConfig.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemoConfig.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemoConfig.Option CONFIG_FILE
public static final DemoConfig.Option FULL_SCREEN
public static final DemoConfig.Option LOCALE
public static final DemoConfig.Option FONT_SIZE
public static final DemoConfig.Option DEMO_COLOR
public static final DemoConfig.Option DEMO_CLASS
public static final DemoConfig.Option LOG_LEVEL
public static final DemoConfig.Option LOG_PATTERN_LAYOUT
public static final DemoConfig.Option KEY_OPEN_CONFIG
public static final DemoConfig.Option DEMO_PATH
public final String key
public final String description
public String defaultValue
public final Class<?> type
public boolean _transient
public boolean _final
public static DemoConfig.Option[] values()
for (DemoConfig.Option c : DemoConfig.Option.values()) System.out.println(c);
public static DemoConfig.Option 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 boolean isFinal()
isFinal in interface io.ultreia.java4all.config.ConfigOptionDefpublic void setDefaultValue(String defaultValue)
setDefaultValue in interface io.ultreia.java4all.config.ConfigOptionDefpublic void setTransient(boolean _transient)
setTransient in interface io.ultreia.java4all.config.ConfigOptionDefpublic void setFinal(boolean _final)
setFinal in interface io.ultreia.java4all.config.ConfigOptionDefpublic boolean isTransient()
isTransient in interface io.ultreia.java4all.config.ConfigOptionDefpublic String getDefaultValue()
getDefaultValue in interface io.ultreia.java4all.config.ConfigOptionDefpublic String getDescription()
getDescription in interface io.ultreia.java4all.config.ConfigOptionDefpublic String getKey()
getKey in interface io.ultreia.java4all.config.ConfigOptionDefpublic Class<?> getType()
getType in interface io.ultreia.java4all.config.ConfigOptionDefCopyright © 2008–2020 Ultreia.io. All rights reserved.