public enum ResponseMessage extends Enum<ResponseMessage>
| Enum Constant and Description |
|---|
DATA_FETCHED |
DELETE |
SAVED |
UPDATED |
| Modifier and Type | Method and Description |
|---|---|
static ResponseMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMessage DATA_FETCHED
public static final ResponseMessage SAVED
public static final ResponseMessage UPDATED
public static final ResponseMessage DELETE
public final String text
public static ResponseMessage[] values()
for (ResponseMessage c : ResponseMessage.values()) System.out.println(c);
public static ResponseMessage 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 © 2023. All rights reserved.