public static enum AddeEntry.EntryStatus extends Enum<AddeEntry.EntryStatus>
Enum Constant and Description |
---|
DISABLED
Entry is valid and toggled off.
|
ENABLED
Entry is valid and toggled on.
|
INVALID
Something is wrong with this entry.
|
Modifier and Type | Method and Description |
---|---|
static AddeEntry.EntryStatus |
fromStr(String str) |
static String |
toStr(AddeEntry.EntryType type) |
static AddeEntry.EntryStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddeEntry.EntryStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddeEntry.EntryStatus ENABLED
public static final AddeEntry.EntryStatus DISABLED
public static final AddeEntry.EntryStatus INVALID
public static AddeEntry.EntryStatus[] values()
for (AddeEntry.EntryStatus c : AddeEntry.EntryStatus.values()) System.out.println(c);
public static AddeEntry.EntryStatus 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 static AddeEntry.EntryStatus fromStr(String str)
public static String toStr(AddeEntry.EntryType type)