public enum ReadState extends Enum<ReadState>
SettingsGroup read states.SettingsManager,
SettingsGroupState,
SettingsGroup| Enum Constant and Description |
|---|
created
New
SettingsGroup has been created. |
failed
Failed to load
SettingsGroup. |
none
Did not attempt to load
SettingsGroup yet. |
ok
SettingsGroup was read successfully. |
restored
SettingsGroup was successfully restored from backup. |
| Modifier and Type | Method and Description |
|---|---|
static ReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadState none
SettingsGroup yet.public static final ReadState created
SettingsGroup has been created.public static final ReadState ok
SettingsGroup was read successfully.public static final ReadState restored
SettingsGroup was successfully restored from backup.public static final ReadState failed
SettingsGroup.public static ReadState[] values()
for (ReadState c : ReadState.values()) System.out.println(c);
public static ReadState 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 nullCopyright © 2020. All rights reserved.