public enum SaveStatus extends Enum<SaveStatus>
Enum Constant and Description |
---|
CANCELLED |
DONT_SAVE |
FAILED |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static SaveStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaveStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveStatus CANCELLED
public static final SaveStatus FAILED
public static final SaveStatus SUCCESS
public static final SaveStatus DONT_SAVE
public static SaveStatus[] values()
for (SaveStatus c : SaveStatus.values()) System.out.println(c);
public static SaveStatus 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 © 2019. All Rights Reserved.