cz.cuni.utils
Enum Settings.Setting
java.lang.Object
java.lang.Enum<Settings.Setting>
cz.cuni.utils.Settings.Setting
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Settings.Setting>
- Enclosing class:
- Settings
public static enum Settings.Setting
- extends java.lang.Enum<Settings.Setting>
Field Summary |
java.lang.Object |
def
Default value. |
java.lang.String |
key
Key of the preference. |
Method Summary |
static Settings.Setting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Settings.Setting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SERVER_UPDATE_FREQUENCY
public static final Settings.Setting SERVER_UPDATE_FREQUENCY
PREFERRED_PARSER_TYPE
public static final Settings.Setting PREFERRED_PARSER_TYPE
PLATFORM_DIR
public static final Settings.Setting PLATFORM_DIR
LOG_WIN_BEHAVIOR
public static final Settings.Setting LOG_WIN_BEHAVIOR
SHOW_WELCOME
public static final Settings.Setting SHOW_WELCOME
PLATFORM_DEBUG
public static final Settings.Setting PLATFORM_DEBUG
FORCE_SIMPLE_ON_STARTUP
public static final Settings.Setting FORCE_SIMPLE_ON_STARTUP
key
public java.lang.String key
- Key of the preference.
def
public java.lang.Object def
- Default value.
values
public static Settings.Setting[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Settings.Setting c : Settings.Setting.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Settings.Setting valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null