public enum SettingsCache extends java.lang.Enum<SettingsCache>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
<T extends CommonSettings> |
getSettings(java.lang.Class<T> settingsClass)
Returns settings of defined type.
|
void |
setSettings(CommonSettings settings)
Set settings.
|
static SettingsCache |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SettingsCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettingsCache INSTANCE
public static SettingsCache[] values()
for (SettingsCache c : SettingsCache.values()) System.out.println(c);
public static SettingsCache valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <T extends CommonSettings> T getSettings(java.lang.Class<T> settingsClass)
T - settingsClass - public void setSettings(CommonSettings settings)
settings - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.