public static enum EconomyResponse.ResponseType extends Enum<EconomyResponse.ResponseType>
Enum Constant and Description |
---|
FAILURE |
NOT_IMPLEMENTED |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static EconomyResponse.ResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EconomyResponse.ResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EconomyResponse.ResponseType SUCCESS
public static final EconomyResponse.ResponseType FAILURE
public static final EconomyResponse.ResponseType NOT_IMPLEMENTED
public static EconomyResponse.ResponseType[] values()
for (EconomyResponse.ResponseType c : EconomyResponse.ResponseType.values()) System.out.println(c);
public static EconomyResponse.ResponseType 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 nullMilkbowl, 2020